#D254A7#D254A7

#D254A7 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.5% C 0.183 H 343.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D254A7
RGBrgb(210, 84, 167)
HSLhsl(320, 58%, 58%)
HSVhsv(320, 60%, 82%)
CMYKcmyk(0%, 60%, 20.5%, 17.6%)
CIE-LABlab(54.90, 58.56, -19.82)
CIE-LCHlch(54.90, 61.82, 341.30°)
OKLaboklab(63.52% 0.1751 -0.0528)
OKLCHoklch(63.52% 0.183 343.2)
XYZxyz(36.7247, 22.8356, 39.0253)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254A7 #54D27F
analogous
#BE54D2 #D254A7 #D25468
triadic
#D254A7 #A7D254 #54A7D2
tetradic
#D254A7 #D2BE54 #54D27F #5468D2
square
#D254A7 #D2BE54 #54D27F #5468D2
split-complementary
#D254A7 #68D254 #54D2BE
monochromatic
#882466 #B8318A #D254A7 #DF84C0 #EBB5D9

Accessibility & contrast

On white

3.77
#D254A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D254A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254A7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254A7#FFFFFF#000000##000000
##D254A71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76AA
Deuteranopia (green-blind)
#828BA4
Tritanopia (blue-blind)
#DE5476
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d254a7;
/* rgb */ color: rgb(210, 84, 167);
/* oklch */ color: oklch(63.5% 0.183 343.2);
Tailwind
colors: {
  custom: {
    50: '#e38bc1',
    500: '#d254a7',
    950: '#000000',
  },
}
SCSS
$custom: #d254a7;
$custom-light: #e38bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#d254a7",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 320.476,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.18293,
    "h": 343.2
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#D254A7
secondary
#A8DAB9
accent
#E27B46
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D254A7

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

Preview Lab → · Contrast checker → · Palette generator →

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