#D142B7#D142B7

#D142B7 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.2% C 0.217 H 336.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D142B7
RGBrgb(209, 66, 183)
HSLhsl(311, 61%, 54%)
HSVhsv(311, 68%, 82%)
CMYKcmyk(0%, 68.4%, 12.4%, 18%)
CIE-LABlab(52.81, 67.79, -32.38)
CIE-LCHlch(52.81, 75.13, 334.47°)
OKLaboklab(62.18% 0.1985 -0.0882)
OKLCHoklch(62.18% 0.217 336.1)
XYZxyz(36.7905, 20.8738, 46.8820)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142B7 #42D15C
analogous
#A442D1 #D142B7 #D14270
triadic
#D142B7 #B7D142 #42B7D1
tetradic
#D142B7 #D1A442 #42D15C #4270D1
square
#D142B7 #D1A442 #42D15C #4270D1
split-complementary
#D142B7 #70D142 #42D1A4
monochromatic
#7B1E6A #AC2A94 #D142B7 #DD73CA #E9A4DD

Accessibility & contrast

On white

4.06
#D142B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D142B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142B7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142B7#FFFFFF#000000##000000
##D142B71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#7486B4
Tritanopia (blue-blind)
#DB4B77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d142b7;
/* rgb */ color: rgb(209, 66, 183);
/* oklch */ color: oklch(62.2% 0.217 336.1);
Tailwind
colors: {
  custom: {
    50: '#e382cd',
    500: '#d142b7',
    950: '#000000',
  },
}
SCSS
$custom: #d142b7;
$custom-light: #e382cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d142b7",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 310.909,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62178,
    "c": 0.21719,
    "h": 336.1
  },
  "luminance": 0.20871
}

Semantic roles & 50–950 ramp

primary
#D142B7
secondary
#99D6A4
accent
#E46144
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D142B7

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

Preview Lab → · Contrast checker → · Palette generator →

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