#D142C5#D142C5

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

Color values

HEX#D142C5
RGBrgb(209, 66, 197)
HSLhsl(305, 61%, 54%)
HSVhsv(305, 68%, 82%)
CMYKcmyk(0%, 68.4%, 5.7%, 18%)
CIE-LABlab(53.48, 69.90, -39.44)
CIE-LCHlch(53.48, 80.26, 330.57°)
OKLaboklab(62.88% 0.1998 -0.1084)
OKLCHoklch(62.88% 0.227 331.5)
XYZxyz(38.3207, 21.4859, 54.9414)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142C5 #42D14E
analogous
#9642D1 #D142C5 #D1427E
triadic
#D142C5 #C5D142 #42C5D1
tetradic
#D142C5 #D19642 #42D14E #427ED1
square
#D142C5 #D19642 #42D14E #427ED1
split-complementary
#D142C5 #7ED142 #42D196
monochromatic
#7B1E73 #AC2AA1 #D142C5 #DD73D4 #E9A4E3

Accessibility & contrast

On white

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

On black

5.30
#D142C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142C5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142C5#FFFFFF#000000##000000
##D142C51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3873C9
Deuteranopia (green-blind)
#6D87C1
Tritanopia (blue-blind)
#D9517E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d142c5;
/* rgb */ color: rgb(209, 66, 197);
/* oklch */ color: oklch(62.9% 0.227 331.5);
Tailwind
colors: {
  custom: {
    50: '#e382d7',
    500: '#d142c5',
    950: '#000000',
  },
}
SCSS
$custom: #d142c5;
$custom-light: #e382d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d142c5",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 305.035,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.22727,
    "h": 331.5
  },
  "luminance": 0.21483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D142C5

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

Preview Lab → · Contrast checker → · Palette generator →

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