#D251A2#D251A2

#D251A2 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.184 H 345.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D251A2
RGBrgb(210, 81, 162)
HSLhsl(322, 59%, 57%)
HSVhsv(322, 61%, 82%)
CMYKcmyk(0%, 61.4%, 22.9%, 17.6%)
CIE-LABlab(54.24, 59.16, -17.91)
CIE-LCHlch(54.24, 61.82, 343.15°)
OKLaboklab(62.97% 0.1779 -0.0475)
OKLCHoklch(62.97% 0.184 345)
XYZxyz(36.0435, 22.1985, 36.5619)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251A2 #51D281
analogous
#C251D2 #D251A2 #D25161
triadic
#D251A2 #A2D251 #51A2D2
tetradic
#D251A2 #D2C251 #51D281 #5161D2
square
#D251A2 #D2C251 #51D281 #5161D2
split-complementary
#D251A2 #61D251 #51D2C2
monochromatic
#862361 #B72F84 #D251A2 #DF82BC #EBB2D6

Accessibility & contrast

On white

3.86
#D251A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D251A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251A2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251A2#FFFFFF#000000##000000
##D251A21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#838A9F
Tritanopia (blue-blind)
#DF5072
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d251a2;
/* rgb */ color: rgb(210, 81, 162);
/* oklch */ color: oklch(63.0% 0.184 345.0);
Tailwind
colors: {
  custom: {
    50: '#e389bd',
    500: '#d251a2',
    950: '#000000',
  },
}
SCSS
$custom: #d251a2;
$custom-light: #e389bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d251a2",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 322.326,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.18414,
    "h": 345
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#D251A2
secondary
#A5DAB9
accent
#E28046
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D251A2

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

Preview Lab → · Contrast checker → · Palette generator →

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