#D254B9#D254B9

#D254B9 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.3% C 0.195 H 336.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#D254B9
RGBrgb(210, 84, 185)
HSLhsl(312, 58%, 58%)
HSVhsv(312, 60%, 82%)
CMYKcmyk(0%, 60%, 11.9%, 17.6%)
CIE-LABlab(55.63, 61.21, -29.14)
CIE-LCHlch(55.63, 67.79, 334.54°)
OKLaboklab(64.3% 0.1787 -0.0791)
OKLCHoklch(64.3% 0.195 336.1)
XYZxyz(38.5060, 23.5481, 48.4067)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254B9 #54D26D
analogous
#AC54D2 #D254B9 #D2547A
triadic
#D254B9 #B9D254 #54B9D2
tetradic
#D254B9 #D2AC54 #54D26D #547AD2
square
#D254B9 #D2AC54 #54D26D #547AD2
split-complementary
#D254B9 #7AD254 #54D2AC
monochromatic
#882474 #B8319D #D254B9 #DF84CD #EBB5E1

Accessibility & contrast

On white

3.68
#D254B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#D254B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254B9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254B9#FFFFFF#000000##000000
##D254B91.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BC
Deuteranopia (green-blind)
#7C8CB6
Tritanopia (blue-blind)
#DC5B7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d254b9;
/* rgb */ color: rgb(210, 84, 185);
/* oklch */ color: oklch(64.3% 0.195 336.1);
Tailwind
colors: {
  custom: {
    50: '#e38bce',
    500: '#d254b9',
    950: '#000000',
  },
}
SCSS
$custom: #d254b9;
$custom-light: #e38bce;
$custom-dark: #000000;
JSON
{
  "hex": "#d254b9",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 185
  },
  "hsl": {
    "h": 311.905,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.19538,
    "h": 336.1
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#D254B9
secondary
#A8DAB2
accent
#E26546
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D254B9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D254B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva