RGB to HEX: #FDA5D5

Also known as: Tailwind pink-300

Result

rgb(253 165 213) → #FDA5D5

Values are shown at full precision, so converting back gives exactly #fda5d5. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. base 10 → base 16

    R = 253 = 15×16 + 13 → FD
    G = 165 = 10×16 + 5 → A5
    B = 213 = 13×16 + 5 → D5
  2. 2. pairs → HEX

    FD A5 D5 → #FDA5D5

All formats

HEX
#fda5d5
RGB
rgb(253 165 213)
RGB (legacy)
rgb(253, 165, 213)
HSL
hsl(327.27 95.65% 81.96%) → hsl(327 96% 82%)
HWB
hwb(327 65% 1%)
OKLCH
oklch(0.823 0.119 346.2) · oklch(82.3% 0.119 346.2)
OKLab
oklab(0.823 0.116 -0.028)
Lab (D50)
lab(77.79 38.23 -10.35)
LCH (D50)
lch(77.79 39.60 344.85)
Display P3
color(display-p3 0.9427 0.6625 0.8266)
Linear sRGB
color(srgb-linear 0.9823 0.3763 0.6654)

Gamut: sRGB and Display P3

#FDA5D5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.124 and Display P3 reaches 0.164; this color uses 96% of the sRGB chroma available.

CSS snippets

.element {
  color: #fda5d5;
  color: rgb(253 165 213);
  color: hsl(327 96% 82%);
  color: oklch(0.823 0.119 346.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.823 0.119 346.2);
}
/* arbitrary values */
class="text-[#fda5d5] bg-[oklch(0.823_0.119_346.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9427 0.6625 0.8266); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fda5d5 calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #FFB8E9 · oklch(0.883 0.119 346.2) · ΔL +0.06
  • #E892C2 · oklch(0.763 0.119 346.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?