#D142D5#D142D5

#D142D5 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.239 H 326.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D142D5
RGBrgb(209, 66, 213)
HSLhsl(298, 64%, 55%)
HSVhsv(298, 69%, 84%)
CMYKcmyk(1.9%, 69%, 0%, 16.5%)
CIE-LABlab(54.30, 72.46, -47.29)
CIE-LCHlch(54.30, 86.53, 326.87°)
OKLaboklab(63.74% 0.2003 -0.1312)
OKLCHoklch(63.74% 0.239 326.8)
XYZxyz(40.2523, 22.2586, 65.1141)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142D5 #46D542
analogous
#8742D5 #D142D5 #D54290
triadic
#D142D5 #D5D142 #42D5D1
tetradic
#D142D5 #D58742 #46D542 #4290D5
square
#D142D5 #D58742 #46D542 #4290D5
split-complementary
#D142D5 #90D542 #42D587
monochromatic
#7D1C80 #AE28B2 #D142D5 #DD74E0 #E9A6EB

Accessibility & contrast

On white

3.85
#D142D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D142D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142D5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142D5#FFFFFF#000000##000000
##D142D51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2576D9
Deuteranopia (green-blind)
#6588D1
Tritanopia (blue-blind)
#D75987
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d142d5;
/* rgb */ color: rgb(209, 66, 213);
/* oklch */ color: oklch(63.7% 0.239 326.8);
Tailwind
colors: {
  custom: {
    50: '#e383e2',
    500: '#d142d5',
    950: '#000000',
  },
}
SCSS
$custom: #d142d5;
$custom-light: #e383e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d142d5",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 298.367,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.23942,
    "h": 326.8
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#D142D5
secondary
#9CD89A
accent
#E74146
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D142D5

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

Preview Lab → · Contrast checker → · Palette generator →

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