#D152BF#D152BF

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

Color values

HEX#D152BF
RGBrgb(209, 82, 191)
HSLhsl(309, 58%, 57%)
HSVhsv(309, 61%, 82%)
CMYKcmyk(0%, 60.8%, 8.6%, 18%)
CIE-LABlab(55.44, 62.73, -32.91)
CIE-LCHlch(55.44, 70.84, 332.31°)
OKLaboklab(64.21% 0.181 -0.0898)
OKLCHoklch(64.21% 0.202 333.6)
XYZxyz(38.7159, 23.3544, 51.7488)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152BF #52D164
analogous
#A452D1 #D152BF #D15280
triadic
#D152BF #BFD152 #52BFD1
tetradic
#D152BF #D1A452 #52D164 #5280D1
square
#D152BF #D1A452 #52D164 #5280D1
split-complementary
#D152BF #80D152 #52D1A4
monochromatic
#852377 #B630A3 #D152BF #DE82D1 #EBB3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D152BF#FFFFFF#000000##000000
##D152BF1.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)
#4F79C2
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#DA5B81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d152bf;
/* rgb */ color: rgb(209, 82, 191);
/* oklch */ color: oklch(64.2% 0.202 333.6);
Tailwind
colors: {
  custom: {
    50: '#e28ad2',
    500: '#d152bf',
    950: '#000000',
  },
}
SCSS
$custom: #d152bf;
$custom-light: #e28ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#d152bf",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 308.504,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.20208,
    "h": 333.6
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#D152BF
secondary
#A6D9AD
accent
#E15C47
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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