#D254BC#D254BC

#D254BC is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.4% C 0.198 H 335.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D254BC
RGBrgb(210, 84, 188)
HSLhsl(310, 58%, 58%)
HSVhsv(310, 60%, 82%)
CMYKcmyk(0%, 60%, 10.5%, 17.6%)
CIE-LABlab(55.76, 61.67, -30.67)
CIE-LCHlch(55.76, 68.88, 333.56°)
OKLaboklab(64.43% 0.1792 -0.0834)
OKLCHoklch(64.43% 0.198 335)
XYZxyz(38.8260, 23.6761, 50.0922)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254BC #54D26A
analogous
#A954D2 #D254BC #D2547D
triadic
#D254BC #BCD254 #54BCD2
tetradic
#D254BC #D2A954 #54D26A #547DD2
square
#D254BC #D2A954 #54D26A #547DD2
split-complementary
#D254BC #7DD254 #54D2A9
monochromatic
#882476 #B831A1 #D254BC #DF84CF #EBB5E2

Accessibility & contrast

On white

3.66
#D254BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D254BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254BC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254BC#FFFFFF#000000##000000
##D254BC1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#7B8CB9
Tritanopia (blue-blind)
#DC5C80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d254bc;
/* rgb */ color: rgb(210, 84, 188);
/* oklch */ color: oklch(64.4% 0.198 335.0);
Tailwind
colors: {
  custom: {
    50: '#e38bd0',
    500: '#d254bc',
    950: '#000000',
  },
}
SCSS
$custom: #d254bc;
$custom-light: #e38bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d254bc",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 310.476,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64432,
    "c": 0.19761,
    "h": 335
  },
  "luminance": 0.23673
}

Semantic roles & 50–950 ramp

primary
#D254BC
secondary
#A8DAB0
accent
#E26146
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D254BC

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

Preview Lab → · Contrast checker → · Palette generator →

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