#D142A7#D142A7

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

Color values

HEX#D142A7
RGBrgb(209, 66, 167)
HSLhsl(318, 61%, 54%)
HSVhsv(318, 68%, 82%)
CMYKcmyk(0%, 68.4%, 20.1%, 18%)
CIE-LABlab(52.11, 65.54, -24.12)
CIE-LCHlch(52.11, 69.83, 339.80°)
OKLaboklab(61.44% 0.1961 -0.0647)
OKLCHoklch(61.44% 0.207 341.7)
XYZxyz(35.2188, 20.2452, 38.6046)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142A7 #42D16C
analogous
#B342D1 #D142A7 #D14260
triadic
#D142A7 #A7D142 #42A7D1
tetradic
#D142A7 #D1B342 #42D16C #4260D1
square
#D142A7 #D1B342 #42D16C #4260D1
split-complementary
#D142A7 #60D142 #42D1B3
monochromatic
#7B1E5F #AC2A86 #D142A7 #DD73BE #E9A4D5

Accessibility & contrast

On white

4.16
#D142A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D142A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142A7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142A7#FFFFFF#000000##000000
##D142A71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DAA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#DE446F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d142a7;
/* rgb */ color: rgb(209, 66, 167);
/* oklch */ color: oklch(61.4% 0.207 341.7);
Tailwind
colors: {
  custom: {
    50: '#e381c1',
    500: '#d142a7',
    950: '#000000',
  },
}
SCSS
$custom: #d142a7;
$custom-light: #e381c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d142a7",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 317.622,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.20654,
    "h": 341.7
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D142A7

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

Preview Lab → · Contrast checker → · Palette generator →

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