#D072C8#D072C8

#D072C8 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.159 H 330.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D072C8
RGBrgb(208, 114, 200)
HSLhsl(305, 50%, 63%)
HSVhsv(305, 45%, 82%)
CMYKcmyk(0%, 45.2%, 3.8%, 18.4%)
CIE-LABlab(61.32, 48.92, -28.92)
CIE-LCHlch(61.32, 56.83, 329.41°)
OKLaboklab(68.65% 0.1382 -0.0787)
OKLCHoklch(68.65% 0.159 330.3)
XYZxyz(42.4546, 29.6170, 58.1128)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072C8 #72D07A
analogous
#A972D0 #D072C8 #D07299
triadic
#D072C8 #C8D072 #72C8D0
tetradic
#D072C8 #D0A972 #72D07A #7299D0
square
#D072C8 #D0A972 #72D07A #7299D0
split-complementary
#D072C8 #99D072 #72D0A9
monochromatic
#96328D #C144B6 #D072C8 #DFA0DA #EFCEEC

Accessibility & contrast

On white

3.03
#D072C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D072C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D072C8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072C8#FFFFFF#000000##000000
##D072C81.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCB
Deuteranopia (green-blind)
#8899C5
Tritanopia (blue-blind)
#D67994
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d072c8;
/* rgb */ color: rgb(208, 114, 200);
/* oklch */ color: oklch(68.7% 0.159 330.3);
Tailwind
colors: {
  custom: {
    50: '#e09dd9',
    500: '#d072c8',
    950: '#000000',
  },
}
SCSS
$custom: #d072c8;
$custom-light: #e09dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d072c8",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 305.106,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68652,
    "c": 0.15904,
    "h": 330.3
  },
  "luminance": 0.29615
}

Semantic roles & 50–950 ramp

primary
#D072C8
secondary
#BEE0C1
accent
#BD3528
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #D072C8

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

Preview Lab → · Contrast checker → · Palette generator →

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