#D142C8#D142C8

#D142C8 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.0% C 0.230 H 330.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D142C8
RGBrgb(209, 66, 200)
HSLhsl(304, 61%, 54%)
HSVhsv(304, 68%, 82%)
CMYKcmyk(0%, 68.4%, 4.3%, 18%)
CIE-LABlab(53.63, 70.37, -40.93)
CIE-LCHlch(53.63, 81.41, 329.82°)
OKLaboklab(63.03% 0.1999 -0.1127)
OKLCHoklch(63.03% 0.23 330.6)
XYZxyz(38.6679, 21.6248, 56.7698)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142C8 #42D14B
analogous
#9342D1 #D142C8 #D14281
triadic
#D142C8 #C8D142 #42C8D1
tetradic
#D142C8 #D19342 #42D14B #4281D1
square
#D142C8 #D19342 #42D14B #4281D1
split-complementary
#D142C8 #81D142 #42D193
monochromatic
#7B1E75 #AC2AA4 #D142C8 #DD73D6 #E9A4E5

Accessibility & contrast

On white

3.94
#D142C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D142C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142C8#FFFFFF#000000##000000
##D142C81.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CC
Deuteranopia (green-blind)
#6C87C4
Tritanopia (blue-blind)
#D95380
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d142c8;
/* rgb */ color: rgb(209, 66, 200);
/* oklch */ color: oklch(63.0% 0.230 330.6);
Tailwind
colors: {
  custom: {
    50: '#e382d9',
    500: '#d142c8',
    950: '#000000',
  },
}
SCSS
$custom: #d142c8;
$custom-light: #e382d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d142c8",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 303.776,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.22951,
    "h": 330.6
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

primary
#D142C8
secondary
#99D69D
accent
#E44E44
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #D142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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