#D254A2#D254A2

#D254A2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.180 H 345.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D254A2
RGBrgb(210, 84, 162)
HSLhsl(323, 58%, 58%)
HSVhsv(323, 60%, 82%)
CMYKcmyk(0%, 60%, 22.9%, 17.6%)
CIE-LABlab(54.71, 57.87, -17.19)
CIE-LCHlch(54.71, 60.37, 343.46°)
OKLaboklab(63.32% 0.174 -0.0455)
OKLCHoklch(63.32% 0.18 345.3)
XYZxyz(36.2714, 22.6543, 36.6379)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254A2 #54D284
analogous
#C354D2 #D254A2 #D25463
triadic
#D254A2 #A2D254 #54A2D2
tetradic
#D254A2 #D2C354 #54D284 #5463D2
square
#D254A2 #D2C354 #54D284 #5463D2
split-complementary
#D254A2 #63D254 #54D2C3
monochromatic
#882462 #B83185 #D254A2 #DF84BC #EBB5D7

Accessibility & contrast

On white

3.80
#D254A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D254A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254A2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254A2#FFFFFF#000000##000000
##D254A21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#848B9F
Tritanopia (blue-blind)
#DF5274
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d254a2;
/* rgb */ color: rgb(210, 84, 162);
/* oklch */ color: oklch(63.3% 0.180 345.3);
Tailwind
colors: {
  custom: {
    50: '#e38bbd',
    500: '#d254a2',
    950: '#000000',
  },
}
SCSS
$custom: #d254a2;
$custom-light: #e38bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d254a2",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 322.857,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.17981,
    "h": 345.3
  },
  "luminance": 0.22651
}

Semantic roles & 50–950 ramp

primary
#D254A2
secondary
#A8DABB
accent
#E28146
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D254A2

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

Preview Lab → · Contrast checker → · Palette generator →

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