#D252C8#D252C8

#D252C8 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.210 H 330.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D252C8
RGBrgb(210, 82, 200)
HSLhsl(305, 59%, 57%)
HSVhsv(305, 61%, 82%)
CMYKcmyk(0%, 61%, 4.8%, 17.6%)
CIE-LABlab(56.00, 64.43, -37.19)
CIE-LCHlch(56.00, 74.39, 330.01°)
OKLaboklab(64.78% 0.1832 -0.102)
OKLCHoklch(64.78% 0.21 330.9)
XYZxyz(40.0208, 23.9092, 57.1394)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252C8 #52D25C
analogous
#9C52D2 #D252C8 #D25288
triadic
#D252C8 #C8D252 #52C8D2
tetradic
#D252C8 #D29C52 #52D25C #5288D2
square
#D252C8 #D29C52 #52D25C #5288D2
split-complementary
#D252C8 #88D252 #52D29C
monochromatic
#87237F #B730AD #D252C8 #DF83D7 #EBB3E7

Accessibility & contrast

On white

3.63
#D252C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D252C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252C8#FFFFFF#000000##000000
##D252C81.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCC
Deuteranopia (green-blind)
#758DC5
Tritanopia (blue-blind)
#DA5F86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d252c8;
/* rgb */ color: rgb(210, 82, 200);
/* oklch */ color: oklch(64.8% 0.210 330.9);
Tailwind
colors: {
  custom: {
    50: '#e38ad9',
    500: '#d252c8',
    950: '#000000',
  },
}
SCSS
$custom: #d252c8;
$custom-light: #e38ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#d252c8",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 304.688,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64781,
    "c": 0.20968,
    "h": 330.9
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

primary
#D252C8
secondary
#A6DAAA
accent
#E25246
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D252C8

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

Preview Lab → · Contrast checker → · Palette generator →

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