#D142C6#D142C6

#D142C6 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.228 H 331.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D142C6
RGBrgb(209, 66, 198)
HSLhsl(305, 61%, 54%)
HSVhsv(305, 68%, 82%)
CMYKcmyk(0%, 68.4%, 5.3%, 18%)
CIE-LABlab(53.53, 70.06, -39.93)
CIE-LCHlch(53.53, 80.64, 330.32°)
OKLaboklab(62.93% 0.1998 -0.1098)
OKLCHoklch(62.93% 0.228 331.2)
XYZxyz(38.4357, 21.5319, 55.5469)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142C6 #42D14D
analogous
#9542D1 #D142C6 #D1427F
triadic
#D142C6 #C6D142 #42C6D1
tetradic
#D142C6 #D19542 #42D14D #427FD1
square
#D142C6 #D19542 #42D14D #427FD1
split-complementary
#D142C6 #7FD142 #42D195
monochromatic
#7B1E74 #AC2AA2 #D142C6 #DD73D5 #E9A4E4

Accessibility & contrast

On white

3.96
#D142C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D142C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142C6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142C6#FFFFFF#000000##000000
##D142C61.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3773CA
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#D9527F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d142c6;
/* rgb */ color: rgb(209, 66, 198);
/* oklch */ color: oklch(62.9% 0.228 331.2);
Tailwind
colors: {
  custom: {
    50: '#e382d8',
    500: '#d142c6',
    950: '#000000',
  },
}
SCSS
$custom: #d142c6;
$custom-light: #e382d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d142c6",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 304.615,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62928,
    "c": 0.22802,
    "h": 331.2
  },
  "luminance": 0.21529
}

Semantic roles & 50–950 ramp

primary
#D142C6
secondary
#99D69E
accent
#E45044
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D142C6

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

Preview Lab → · Contrast checker → · Palette generator →

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