#D02CBA#D02CBA

#D02CBA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.241 H 334.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D02CBA
RGBrgb(208, 44, 186)
HSLhsl(308, 65%, 49%)
HSVhsv(308, 79%, 82%)
CMYKcmyk(0%, 78.8%, 10.6%, 18.4%)
CIE-LABlab(50.40, 74.79, -37.92)
CIE-LCHlch(50.40, 83.85, 333.12°)
OKLaboklab(60.46% 0.2179 -0.1039)
OKLCHoklch(60.46% 0.241 334.5)
XYZxyz(35.7765, 18.7597, 48.1816)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02CBA #2CD042
analogous
#942CD0 #D02CBA #D02C68
triadic
#D02CBA #BAD02C #2CBAD0
tetradic
#D02CBA #D0942C #2CD042 #2C68D0
square
#D02CBA #D0942C #2CD042 #2C68D0
split-complementary
#D02CBA #68D02C #2CD094
monochromatic
#6B1760 #9D218D #D02CBA #DD5DCB #E78FDB

Accessibility & contrast

On white

4.42
#D02CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D02CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02CBA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02CBA#FFFFFF#000000##000000
##D02CBA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#DA3D72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02cba;
/* rgb */ color: rgb(208, 44, 186);
/* oklch */ color: oklch(60.5% 0.241 334.5);
Tailwind
colors: {
  custom: {
    50: '#e379cf',
    500: '#d02cba',
    950: '#000000',
  },
}
SCSS
$custom: #d02cba;
$custom-light: #e379cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d02cba",
  "rgb": {
    "r": 208,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 308.049,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.24137,
    "h": 334.5
  },
  "luminance": 0.18756
}

Semantic roles & 50–950 ramp

primary
#D02CBA
secondary
#86D290
accent
#E85640
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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