#D142A6#D142A6

#D142A6 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.206 H 342.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D142A6
RGBrgb(209, 66, 166)
HSLhsl(318, 61%, 54%)
HSVhsv(318, 68%, 82%)
CMYKcmyk(0%, 68.4%, 20.6%, 18%)
CIE-LABlab(52.07, 65.40, -23.59)
CIE-LCHlch(52.07, 69.53, 340.16°)
OKLaboklab(61.4% 0.196 -0.0633)
OKLCHoklch(61.4% 0.206 342.1)
XYZxyz(35.1267, 20.2083, 38.1197)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142A6 #42D16D
analogous
#B542D1 #D142A6 #D1425F
triadic
#D142A6 #A6D142 #42A6D1
tetradic
#D142A6 #D1B542 #42D16D #425FD1
square
#D142A6 #D1B542 #42D16D #425FD1
split-complementary
#D142A6 #5FD142 #42D1B5
monochromatic
#7B1E5F #AC2A85 #D142A6 #DD73BD #E9A4D4

Accessibility & contrast

On white

4.17
#D142A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D142A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142A6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142A6#FFFFFF#000000##000000
##D142A61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DA9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#DE446E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d142a6;
/* rgb */ color: rgb(209, 66, 166);
/* oklch */ color: oklch(61.4% 0.206 342.1);
Tailwind
colors: {
  custom: {
    50: '#e381c0',
    500: '#d142a6',
    950: '#000000',
  },
}
SCSS
$custom: #d142a6;
$custom-light: #e381c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d142a6",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 318.042,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.20591,
    "h": 342.1
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#D142A6
secondary
#99D6AB
accent
#E47444
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D142A6

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

Preview Lab → · Contrast checker → · Palette generator →

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