#D142AB#D142AB

#D142AB is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.209 H 340.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D142AB
RGBrgb(209, 66, 171)
HSLhsl(316, 61%, 54%)
HSVhsv(316, 68%, 82%)
CMYKcmyk(0%, 68.4%, 18.2%, 18%)
CIE-LABlab(52.28, 66.08, -26.20)
CIE-LCHlch(52.28, 71.09, 338.37°)
OKLaboklab(61.62% 0.1968 -0.0706)
OKLCHoklch(61.62% 0.209 340.3)
XYZxyz(35.5943, 20.3954, 40.5823)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142AB #42D168
analogous
#B042D1 #D142AB #D14264
triadic
#D142AB #ABD142 #42ABD1
tetradic
#D142AB #D1B042 #42D168 #4264D1
square
#D142AB #D1B042 #42D168 #4264D1
split-complementary
#D142AB #64D142 #42D1B0
monochromatic
#7B1E62 #AC2A89 #D142AB #DD73C1 #E9A4D7

Accessibility & contrast

On white

4.14
#D142AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D142AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142AB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142AB#FFFFFF#000000##000000
##D142AB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#DD4671
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d142ab;
/* rgb */ color: rgb(209, 66, 171);
/* oklch */ color: oklch(61.6% 0.209 340.3);
Tailwind
colors: {
  custom: {
    50: '#e381c4',
    500: '#d142ab',
    950: '#000000',
  },
}
SCSS
$custom: #d142ab;
$custom-light: #e381c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d142ab",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 315.944,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.20909,
    "h": 340.3
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#D142AB
secondary
#99D6A9
accent
#E46E44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D142AB

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

Preview Lab → · Contrast checker → · Palette generator →

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