#D251AF#D251AF

#D251AF is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.5% C 0.193 H 339.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D251AF
RGBrgb(210, 81, 175)
HSLhsl(316, 59%, 57%)
HSVhsv(316, 61%, 82%)
CMYKcmyk(0%, 61.4%, 16.7%, 17.6%)
CIE-LABlab(54.75, 60.99, -24.72)
CIE-LCHlch(54.75, 65.81, 337.94°)
OKLaboklab(63.51% 0.1807 -0.0665)
OKLCHoklch(63.51% 0.193 339.8)
XYZxyz(37.2594, 22.6849, 42.9654)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251AF #51D274
analogous
#B551D2 #D251AF #D2516F
triadic
#D251AF #AFD251 #51AFD2
tetradic
#D251AF #D2B551 #51D274 #516FD2
square
#D251AF #D2B551 #51D274 #516FD2
split-complementary
#D251AF #6FD251 #51D2B5
monochromatic
#86236B #B72F92 #D251AF #DF82C5 #EBB2DC

Accessibility & contrast

On white

3.79
#D251AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D251AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251AF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251AF#FFFFFF#000000##000000
##D251AF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7E8BAC
Tritanopia (blue-blind)
#DD5479
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d251af;
/* rgb */ color: rgb(210, 81, 175);
/* oklch */ color: oklch(63.5% 0.193 339.8);
Tailwind
colors: {
  custom: {
    50: '#e389c7',
    500: '#d251af',
    950: '#000000',
  },
}
SCSS
$custom: #d251af;
$custom-light: #e389c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d251af",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 316.279,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.19255,
    "h": 339.8
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#D251AF
secondary
#A5DAB3
accent
#E27046
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D251AF

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

Preview Lab → · Contrast checker → · Palette generator →

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