#D452CB#D452CB

#D452CB is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.213 H 330.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D452CB
RGBrgb(212, 82, 203)
HSLhsl(304, 60%, 58%)
HSVhsv(304, 61%, 83%)
CMYKcmyk(0%, 61.3%, 4.2%, 16.9%)
CIE-LABlab(56.43, 65.42, -38.20)
CIE-LCHlch(56.43, 75.76, 329.72°)
OKLaboklab(65.2% 0.1856 -0.1049)
OKLCHoklch(65.2% 0.213 330.5)
XYZxyz(40.9479, 24.3463, 59.0309)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452CB #52D45B
analogous
#9C52D4 #D452CB #D4528A
triadic
#D452CB #CBD452 #52CBD4
tetradic
#D452CB #D49C52 #52D45B #528AD4
square
#D452CB #D49C52 #52D45B #528AD4
split-complementary
#D452CB #8AD452 #52D49C
monochromatic
#892282 #BA2EB1 #D452CB #E083DA #ECB4E8

Accessibility & contrast

On white

3.58
#D452CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D452CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452CB#FFFFFF#000000##000000
##D452CB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#DC5F87
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d452cb;
/* rgb */ color: rgb(212, 82, 203);
/* oklch */ color: oklch(65.2% 0.213 330.5);
Tailwind
colors: {
  custom: {
    50: '#e48bdb',
    500: '#d452cb',
    950: '#000000',
  },
}
SCSS
$custom: #d452cb;
$custom-light: #e48bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d452cb",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 304.154,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.21321,
    "h": 330.5
  },
  "luminance": 0.24343
}

Semantic roles & 50–950 ramp

primary
#D452CB
secondary
#A7DBAA
accent
#E34F44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D452CB

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

Preview Lab → · Contrast checker → · Palette generator →

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