#D252C2#D252C2

#D252C2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.205 H 332.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D252C2
RGBrgb(210, 82, 194)
HSLhsl(308, 59%, 57%)
HSVhsv(308, 61%, 82%)
CMYKcmyk(0%, 61%, 7.6%, 17.6%)
CIE-LABlab(55.72, 63.46, -34.18)
CIE-LCHlch(55.72, 72.08, 331.69°)
OKLaboklab(64.49% 0.1825 -0.0934)
OKLCHoklch(64.49% 0.205 332.9)
XYZxyz(39.3333, 23.6342, 53.5187)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252C2 #52D262
analogous
#A252D2 #D252C2 #D25282
triadic
#D252C2 #C2D252 #52C2D2
tetradic
#D252C2 #D2A252 #52D262 #5282D2
square
#D252C2 #D2A252 #52D262 #5282D2
split-complementary
#D252C2 #82D252 #52D2A2
monochromatic
#87237A #B730A6 #D252C2 #DF83D3 #EBB3E4

Accessibility & contrast

On white

3.67
#D252C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D252C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252C2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252C2#FFFFFF#000000##000000
##D252C21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#DB5C83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d252c2;
/* rgb */ color: rgb(210, 82, 194);
/* oklch */ color: oklch(64.5% 0.205 332.9);
Tailwind
colors: {
  custom: {
    50: '#e38ad5',
    500: '#d252c2',
    950: '#000000',
  },
}
SCSS
$custom: #d252c2;
$custom-light: #e38ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d252c2",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 307.5,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.205,
    "h": 332.9
  },
  "luminance": 0.23631
}

Semantic roles & 50–950 ramp

primary
#D252C2
secondary
#A6DAAC
accent
#E25946
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D252C2

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

Preview Lab → · Contrast checker → · Palette generator →

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