#D142A9#D142A9

#D142A9 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.208 H 341.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D142A9
RGBrgb(209, 66, 169)
HSLhsl(317, 61%, 54%)
HSVhsv(317, 68%, 82%)
CMYKcmyk(0%, 68.4%, 19.1%, 18%)
CIE-LABlab(52.20, 65.81, -25.16)
CIE-LCHlch(52.20, 70.45, 339.07°)
OKLaboklab(61.53% 0.1965 -0.0677)
OKLCHoklch(61.53% 0.208 341)
XYZxyz(35.4051, 20.3197, 39.5859)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142A9 #42D16A
analogous
#B242D1 #D142A9 #D14262
triadic
#D142A9 #A9D142 #42A9D1
tetradic
#D142A9 #D1B242 #42D16A #4262D1
square
#D142A9 #D1B242 #42D16A #4262D1
split-complementary
#D142A9 #62D142 #42D1B2
monochromatic
#7B1E61 #AC2A88 #D142A9 #DD73BF #E9A4D6

Accessibility & contrast

On white

4.15
#D142A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D142A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142A9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142A9#FFFFFF#000000##000000
##D142A91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAC
Deuteranopia (green-blind)
#7985A6
Tritanopia (blue-blind)
#DD4570
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d142a9;
/* rgb */ color: rgb(209, 66, 169);
/* oklch */ color: oklch(61.5% 0.208 341.0);
Tailwind
colors: {
  custom: {
    50: '#e381c2',
    500: '#d142a9',
    950: '#000000',
  },
}
SCSS
$custom: #d142a9;
$custom-light: #e381c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d142a9",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 316.783,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.20781,
    "h": 341
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#D142A9
secondary
#99D6AA
accent
#E47144
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D142A9

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

Preview Lab → · Contrast checker → · Palette generator →

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