#D142BD#D142BD

#D142BD is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.5% C 0.221 H 334.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D142BD
RGBrgb(209, 66, 189)
HSLhsl(308, 61%, 54%)
HSVhsv(308, 68%, 82%)
CMYKcmyk(0%, 68.4%, 9.6%, 18%)
CIE-LABlab(53.09, 68.68, -35.43)
CIE-LCHlch(53.09, 77.28, 332.72°)
OKLaboklab(62.47% 0.1991 -0.0969)
OKLCHoklch(62.47% 0.221 334.1)
XYZxyz(37.4283, 21.1290, 50.2413)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142BD #42D156
analogous
#9E42D1 #D142BD #D14276
triadic
#D142BD #BDD142 #42BDD1
tetradic
#D142BD #D19E42 #42D156 #4276D1
square
#D142BD #D19E42 #42D156 #4276D1
split-complementary
#D142BD #76D142 #42D19E
monochromatic
#7B1E6E #AC2A9A #D142BD #DD73CE #E9A4DF

Accessibility & contrast

On white

4.02
#D142BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D142BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142BD#FFFFFF#000000##000000
##D142BD1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C1
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#DB4E7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d142bd;
/* rgb */ color: rgb(209, 66, 189);
/* oklch */ color: oklch(62.5% 0.221 334.1);
Tailwind
colors: {
  custom: {
    50: '#e382d1',
    500: '#d142bd',
    950: '#000000',
  },
}
SCSS
$custom: #d142bd;
$custom-light: #e382d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d142bd",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 308.392,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.22143,
    "h": 334.1
  },
  "luminance": 0.21126
}

Semantic roles & 50–950 ramp

primary
#D142BD
secondary
#99D6A1
accent
#E45A44
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D142BD

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

Preview Lab → · Contrast checker → · Palette generator →

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