#D152D3#D152D3

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

Color values

HEX#D152D3
RGBrgb(209, 82, 211)
HSLhsl(299, 59%, 57%)
HSVhsv(299, 61%, 83%)
CMYKcmyk(0.9%, 61.1%, 0%, 17.3%)
CIE-LABlab(56.38, 66.01, -42.86)
CIE-LCHlch(56.38, 78.70, 327.00°)
OKLaboklab(65.21% 0.183 -0.1184)
OKLCHoklch(65.21% 0.218 327.1)
XYZxyz(41.0690, 24.2957, 64.1418)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D3 #54D352
analogous
#9152D3 #D152D3 #D35294
triadic
#D152D3 #D3D152 #52D3D1
tetradic
#D152D3 #D39152 #54D352 #5294D3
square
#D152D3 #D39152 #54D352 #5294D3
split-complementary
#D152D3 #94D352 #52D391
monochromatic
#862388 #B72FB9 #D152D3 #DE83DF #EBB4EC

Accessibility & contrast

On white

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

On black

5.86
#D152D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D3#FFFFFF#000000##000000
##D152D31.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD7
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#D7638B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d152d3;
/* rgb */ color: rgb(209, 82, 211);
/* oklch */ color: oklch(65.2% 0.218 327.1);
Tailwind
colors: {
  custom: {
    50: '#e28be1',
    500: '#d152d3',
    950: '#000000',
  },
}
SCSS
$custom: #d152d3;
$custom-light: #e28be1;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d3",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 299.07,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65205,
    "c": 0.21801,
    "h": 327.1
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#D152D3
secondary
#A7DAA6
accent
#E34548
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152D3

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

Preview Lab → · Contrast checker → · Palette generator →

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