#D251AB#D251AB

#D251AB is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.190 H 341.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D251AB
RGBrgb(210, 81, 171)
HSLhsl(318, 59%, 57%)
HSVhsv(318, 61%, 82%)
CMYKcmyk(0%, 61.4%, 18.6%, 17.6%)
CIE-LABlab(54.59, 60.42, -22.64)
CIE-LCHlch(54.59, 64.52, 339.46°)
OKLaboklab(63.34% 0.1799 -0.0607)
OKLCHoklch(63.34% 0.19 341.4)
XYZxyz(36.8724, 22.5301, 40.9270)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251AB #51D278
analogous
#B951D2 #D251AB #D2516A
triadic
#D251AB #ABD251 #51ABD2
tetradic
#D251AB #D2B951 #51D278 #516AD2
square
#D251AB #D2B951 #51D278 #516AD2
split-complementary
#D251AB #6AD251 #51D2B9
monochromatic
#862368 #B72F8E #D251AB #DF82C2 #EBB2DA

Accessibility & contrast

On white

3.81
#D251AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D251AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251AB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251AB#FFFFFF#000000##000000
##D251AB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AE
Deuteranopia (green-blind)
#808AA8
Tritanopia (blue-blind)
#DE5377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d251ab;
/* rgb */ color: rgb(210, 81, 171);
/* oklch */ color: oklch(63.3% 0.190 341.4);
Tailwind
colors: {
  custom: {
    50: '#e389c4',
    500: '#d251ab',
    950: '#000000',
  },
}
SCSS
$custom: #d251ab;
$custom-light: #e389c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d251ab",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 318.14,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63336,
    "c": 0.18986,
    "h": 341.4
  },
  "luminance": 0.22527
}

Semantic roles & 50–950 ramp

primary
#D251AB
secondary
#A5DAB5
accent
#E27546
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D251AB

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

Preview Lab → · Contrast checker → · Palette generator →

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