#D142CB#D142CB

#D142CB is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.2% C 0.232 H 329.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D142CB
RGBrgb(209, 66, 203)
HSLhsl(303, 61%, 54%)
HSVhsv(303, 68%, 82%)
CMYKcmyk(0%, 68.4%, 2.9%, 18%)
CIE-LABlab(53.78, 70.85, -42.41)
CIE-LCHlch(53.78, 82.57, 329.10°)
OKLaboklab(63.19% 0.2001 -0.117)
OKLCHoklch(63.19% 0.232 329.7)
XYZxyz(39.0219, 21.7664, 58.6344)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142CB #42D148
analogous
#8F42D1 #D142CB #D14284
triadic
#D142CB #CBD142 #42CBD1
tetradic
#D142CB #D18F42 #42D148 #4284D1
square
#D142CB #D18F42 #42D148 #4284D1
split-complementary
#D142CB #84D142 #42D18F
monochromatic
#7B1E77 #AC2AA6 #D142CB #DD73D9 #E9A4E6

Accessibility & contrast

On white

3.92
#D142CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D142CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142CB#FFFFFF#000000##000000
##D142CB1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#D85482
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d142cb;
/* rgb */ color: rgb(209, 66, 203);
/* oklch */ color: oklch(63.2% 0.232 329.7);
Tailwind
colors: {
  custom: {
    50: '#e382db',
    500: '#d142cb',
    950: '#000000',
  },
}
SCSS
$custom: #d142cb;
$custom-light: #e382db;
$custom-dark: #000000;
JSON
{
  "hex": "#d142cb",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 302.517,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.23176,
    "h": 329.7
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

primary
#D142CB
secondary
#99D69B
accent
#E44B44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D142CB

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

Preview Lab → · Contrast checker → · Palette generator →

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