#D142A5#D142A5

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

Color values

HEX#D142A5
RGBrgb(209, 66, 165)
HSLhsl(318, 61%, 54%)
HSVhsv(318, 68%, 82%)
CMYKcmyk(0%, 68.4%, 21.1%, 18%)
CIE-LABlab(52.03, 65.27, -23.07)
CIE-LCHlch(52.03, 69.22, 340.53°)
OKLaboklab(61.36% 0.1958 -0.0618)
OKLCHoklch(61.36% 0.205 342.5)
XYZxyz(35.0354, 20.1718, 37.6384)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142A5 #42D16E
analogous
#B642D1 #D142A5 #D1425E
triadic
#D142A5 #A5D142 #42A5D1
tetradic
#D142A5 #D1B642 #42D16E #425ED1
square
#D142A5 #D1B642 #42D16E #425ED1
split-complementary
#D142A5 #5ED142 #42D1B6
monochromatic
#7B1E5E #AC2A84 #D142A5 #DD73BC #E9A4D4

Accessibility & contrast

On white

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

On black

5.03
#D142A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142A5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142A5#FFFFFF#000000##000000
##D142A51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA8
Deuteranopia (green-blind)
#7A85A2
Tritanopia (blue-blind)
#DE436E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d142a5;
/* rgb */ color: rgb(209, 66, 165);
/* oklch */ color: oklch(61.4% 0.205 342.5);
Tailwind
colors: {
  custom: {
    50: '#e381c0',
    500: '#d142a5',
    950: '#000000',
  },
}
SCSS
$custom: #d142a5;
$custom-light: #e381c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d142a5",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 318.462,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.20528,
    "h": 342.5
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#D142A5
secondary
#99D6AC
accent
#E47544
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D142A5

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

Preview Lab → · Contrast checker → · Palette generator →

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