#D252BF#D252BF

#D252BF is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.203 H 333.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D252BF
RGBrgb(210, 82, 191)
HSLhsl(309, 59%, 57%)
HSVhsv(309, 61%, 82%)
CMYKcmyk(0%, 61%, 9%, 17.6%)
CIE-LABlab(55.58, 62.99, -32.67)
CIE-LCHlch(55.58, 70.96, 332.59°)
OKLaboklab(64.35% 0.1821 -0.0891)
OKLCHoklch(64.35% 0.203 333.9)
XYZxyz(38.9998, 23.5008, 51.7622)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252BF #52D265
analogous
#A552D2 #D252BF #D2527F
triadic
#D252BF #BFD252 #52BFD2
tetradic
#D252BF #D2A552 #52D265 #527FD2
square
#D252BF #D2A552 #52D265 #527FD2
split-complementary
#D252BF #7FD252 #52D2A5
monochromatic
#872378 #B730A3 #D252BF #DF83D1 #EBB3E3

Accessibility & contrast

On white

3.68
#D252BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D252BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252BF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252BF#FFFFFF#000000##000000
##D252BF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#DB5B81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d252bf;
/* rgb */ color: rgb(210, 82, 191);
/* oklch */ color: oklch(64.3% 0.203 333.9);
Tailwind
colors: {
  custom: {
    50: '#e38ad2',
    500: '#d252bf',
    950: '#000000',
  },
}
SCSS
$custom: #d252bf;
$custom-light: #e38ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#d252bf",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 308.906,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64345,
    "c": 0.20271,
    "h": 333.9
  },
  "luminance": 0.23498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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