#D252BC#D252BC

#D252BC is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.2% C 0.200 H 335.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D252BC
RGBrgb(210, 82, 188)
HSLhsl(310, 59%, 57%)
HSVhsv(310, 61%, 82%)
CMYKcmyk(0%, 61%, 10.5%, 17.6%)
CIE-LABlab(55.45, 62.52, -31.15)
CIE-LCHlch(55.45, 69.85, 333.52°)
OKLaboklab(64.21% 0.1817 -0.0848)
OKLCHoklch(64.21% 0.2 335)
XYZxyz(38.6730, 23.3701, 50.0412)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252BC #52D268
analogous
#A852D2 #D252BC #D2527C
triadic
#D252BC #BCD252 #52BCD2
tetradic
#D252BC #D2A852 #52D268 #527CD2
square
#D252BC #D2A852 #52D268 #527CD2
split-complementary
#D252BC #7CD252 #52D2A8
monochromatic
#872375 #B730A0 #D252BC #DF83CF #EBB3E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D252BC#FFFFFF#000000##000000
##D252BC1.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)
#5279BF
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#DC5A80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d252bc;
/* rgb */ color: rgb(210, 82, 188);
/* oklch */ color: oklch(64.2% 0.200 335.0);
Tailwind
colors: {
  custom: {
    50: '#e38ad0',
    500: '#d252bc',
    950: '#000000',
  },
}
SCSS
$custom: #d252bc;
$custom-light: #e38ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#d252bc",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 310.313,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64205,
    "c": 0.20045,
    "h": 335
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#D252BC
secondary
#A6DAAF
accent
#E26146
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D252BC

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

Preview Lab → · Contrast checker → · Palette generator →

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