#D142C4#D142C4

#D142C4 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.8% C 0.227 H 331.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D142C4
RGBrgb(209, 66, 196)
HSLhsl(305, 61%, 54%)
HSVhsv(305, 68%, 82%)
CMYKcmyk(0%, 68.4%, 6.2%, 18%)
CIE-LABlab(53.43, 69.75, -38.94)
CIE-LCHlch(53.43, 79.88, 330.83°)
OKLaboklab(62.83% 0.1997 -0.107)
OKLCHoklch(62.83% 0.227 331.8)
XYZxyz(38.2065, 21.4403, 54.3400)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142C4 #42D14F
analogous
#9742D1 #D142C4 #D1427D
triadic
#D142C4 #C4D142 #42C4D1
tetradic
#D142C4 #D19742 #42D14F #427DD1
square
#D142C4 #D19742 #42D14F #427DD1
split-complementary
#D142C4 #7DD142 #42D197
monochromatic
#7B1E72 #AC2AA0 #D142C4 #DD73D3 #E9A4E3

Accessibility & contrast

On white

3.97
#D142C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D142C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142C4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142C4#FFFFFF#000000##000000
##D142C41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3973C8
Deuteranopia (green-blind)
#6E87C0
Tritanopia (blue-blind)
#DA517E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d142c4;
/* rgb */ color: rgb(209, 66, 196);
/* oklch */ color: oklch(62.8% 0.227 331.8);
Tailwind
colors: {
  custom: {
    50: '#e382d6',
    500: '#d142c4',
    950: '#000000',
  },
}
SCSS
$custom: #d142c4;
$custom-light: #e382d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d142c4",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 305.455,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62825,
    "c": 0.22654,
    "h": 331.8
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D142C4

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

Preview Lab → · Contrast checker → · Palette generator →

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