#D142A3#D142A3

#D142A3 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.3% C 0.204 H 343.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D142A3
RGBrgb(209, 66, 163)
HSLhsl(319, 61%, 54%)
HSVhsv(319, 68%, 82%)
CMYKcmyk(0%, 68.4%, 22%, 18%)
CIE-LABlab(51.95, 65.00, -22.02)
CIE-LCHlch(51.95, 68.63, 341.29°)
OKLaboklab(61.27% 0.1954 -0.0588)
OKLCHoklch(61.27% 0.204 343.2)
XYZxyz(34.8547, 20.0996, 36.6872)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142A3 #42D170
analogous
#B842D1 #D142A3 #D1425C
triadic
#D142A3 #A3D142 #42A3D1
tetradic
#D142A3 #D1B842 #42D170 #425CD1
square
#D142A3 #D1B842 #42D170 #425CD1
split-complementary
#D142A3 #5CD142 #42D1B8
monochromatic
#7B1E5D #AC2A82 #D142A3 #DD73BB #E9A4D3

Accessibility & contrast

On white

4.18
#D142A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D142A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142A3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142A3#FFFFFF#000000##000000
##D142A31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#7B84A0
Tritanopia (blue-blind)
#DE426D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d142a3;
/* rgb */ color: rgb(209, 66, 163);
/* oklch */ color: oklch(61.3% 0.204 343.2);
Tailwind
colors: {
  custom: {
    50: '#e381be',
    500: '#d142a3',
    950: '#000000',
  },
}
SCSS
$custom: #d142a3;
$custom-light: #e381be;
$custom-dark: #000000;
JSON
{
  "hex": "#d142a3",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 319.301,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.20404,
    "h": 343.2
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#D142A3
secondary
#99D6AD
accent
#E47744
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D142A3

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

Preview Lab → · Contrast checker → · Palette generator →

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