#D251BF#D251BF

#D251BF is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.204 H 333.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D251BF
RGBrgb(210, 81, 191)
HSLhsl(309, 59%, 57%)
HSVhsv(309, 61%, 82%)
CMYKcmyk(0%, 61.4%, 9%, 17.6%)
CIE-LABlab(55.43, 63.41, -32.91)
CIE-LCHlch(55.43, 71.44, 332.57°)
OKLaboklab(64.23% 0.1833 -0.0898)
OKLCHoklch(64.23% 0.204 333.9)
XYZxyz(38.9249, 23.3511, 51.7372)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251BF #51D264
analogous
#A451D2 #D251BF #D2517F
triadic
#D251BF #BFD251 #51BFD2
tetradic
#D251BF #D2A451 #51D264 #517FD2
square
#D251BF #D2A451 #51D264 #517FD2
split-complementary
#D251BF #7FD251 #51D2A4
monochromatic
#862377 #B72FA3 #D251BF #DF82D1 #EBB2E3

Accessibility & contrast

On white

3.70
#D251BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D251BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251BF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251BF#FFFFFF#000000##000000
##D251BF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#788CBC
Tritanopia (blue-blind)
#DB5A81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d251bf;
/* rgb */ color: rgb(210, 81, 191);
/* oklch */ color: oklch(64.2% 0.204 333.9);
Tailwind
colors: {
  custom: {
    50: '#e38ad2',
    500: '#d251bf',
    950: '#000000',
  },
}
SCSS
$custom: #d251bf;
$custom-light: #e38ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#d251bf",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 308.837,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64234,
    "c": 0.2041,
    "h": 333.9
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#D251BF
secondary
#A5DAAD
accent
#E25D46
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D251BF

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

Preview Lab → · Contrast checker → · Palette generator →

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