#D142D9#D142D9

#D142D9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.0% C 0.243 H 325.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D142D9
RGBrgb(209, 66, 217)
HSLhsl(297, 67%, 55%)
HSVhsv(297, 70%, 85%)
CMYKcmyk(3.7%, 69.6%, 0%, 14.9%)
CIE-LABlab(54.52, 73.12, -49.22)
CIE-LCHlch(54.52, 88.15, 326.05°)
OKLaboklab(63.96% 0.2003 -0.1368)
OKLCHoklch(63.96% 0.243 325.7)
XYZxyz(40.7662, 22.4641, 67.8210)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142D9 #4AD942
analogous
#8542D9 #D142D9 #D94296
triadic
#D142D9 #D9D142 #42D9D1
tetradic
#D142D9 #D98542 #4AD942 #4296D9
square
#D142D9 #D98542 #4AD942 #4296D9
split-complementary
#D142D9 #96D942 #42D985
monochromatic
#801B86 #B125B9 #D142D9 #DD75E3 #EAA8ED

Accessibility & contrast

On white

3.82
#D142D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D142D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142D9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142D9#FFFFFF#000000##000000
##D142D91.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D77DD
Deuteranopia (green-blind)
#6288D5
Tritanopia (blue-blind)
#D65A89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d142d9;
/* rgb */ color: rgb(209, 66, 217);
/* oklch */ color: oklch(64.0% 0.243 325.7);
Tailwind
colors: {
  custom: {
    50: '#e383e5',
    500: '#d142d9',
    950: '#000000',
  },
}
SCSS
$custom: #d142d9;
$custom-light: #e383e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d142d9",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 296.821,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.24254,
    "h": 325.7
  },
  "luminance": 0.22461
}

Semantic roles & 50–950 ramp

primary
#D142D9
secondary
#9FDB9C
accent
#E93E47
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D142D9

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

Preview Lab → · Contrast checker → · Palette generator →

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