#D142AD#D142AD

#D142AD is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.7% C 0.210 H 339.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D142AD
RGBrgb(209, 66, 173)
HSLhsl(315, 61%, 54%)
HSVhsv(315, 68%, 82%)
CMYKcmyk(0%, 68.4%, 17.2%, 18%)
CIE-LABlab(52.37, 66.36, -27.24)
CIE-LCHlch(52.37, 71.74, 337.68°)
OKLaboklab(61.71% 0.1971 -0.0735)
OKLCHoklch(61.71% 0.21 339.5)
XYZxyz(35.7864, 20.4722, 41.5939)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142AD #42D166
analogous
#AE42D1 #D142AD #D14266
triadic
#D142AD #ADD142 #42ADD1
tetradic
#D142AD #D1AE42 #42D166 #4266D1
square
#D142AD #D1AE42 #42D166 #4266D1
split-complementary
#D142AD #66D142 #42D1AE
monochromatic
#7B1E63 #AC2A8B #D142AD #DD73C2 #E9A4D8

Accessibility & contrast

On white

4.12
#D142AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D142AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142AD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142AD#FFFFFF#000000##000000
##D142AD1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EB0
Deuteranopia (green-blind)
#7785AA
Tritanopia (blue-blind)
#DD4772
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d142ad;
/* rgb */ color: rgb(209, 66, 173);
/* oklch */ color: oklch(61.7% 0.210 339.5);
Tailwind
colors: {
  custom: {
    50: '#e381c5',
    500: '#d142ad',
    950: '#000000',
  },
}
SCSS
$custom: #d142ad;
$custom-light: #e381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d142ad",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 315.105,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.2104,
    "h": 339.5
  },
  "luminance": 0.20469
}

Semantic roles & 50–950 ramp

primary
#D142AD
secondary
#99D6A8
accent
#E46C44
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D142AD

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

Preview Lab → · Contrast checker → · Palette generator →

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