#D140A8#D140A8

#D140A8 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.3% C 0.210 H 341.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D140A8
RGBrgb(209, 64, 168)
HSLhsl(317, 61%, 54%)
HSVhsv(317, 69%, 82%)
CMYKcmyk(0%, 69.4%, 19.6%, 18%)
CIE-LABlab(51.90, 66.39, -25.04)
CIE-LCHlch(51.90, 70.96, 339.34°)
OKLaboklab(61.3% 0.1985 -0.0673)
OKLCHoklch(61.3% 0.21 341.3)
XYZxyz(35.1968, 20.0527, 39.0551)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140A8 #40D169
analogous
#B240D1 #D140A8 #D1405F
triadic
#D140A8 #A8D140 #40A8D1
tetradic
#D140A8 #D1B240 #40D169 #405FD1
square
#D140A8 #D1B240 #40D169 #405FD1
split-complementary
#D140A8 #5FD140 #40D1B2
monochromatic
#791D5F #AB2986 #D140A8 #DD71BE #E9A3D5

Accessibility & contrast

On white

4.19
#D140A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D140A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140A8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140A8#FFFFFF#000000##000000
##D140A81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#DD436F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d140a8;
/* rgb */ color: rgb(209, 64, 168);
/* oklch */ color: oklch(61.3% 0.210 341.3);
Tailwind
colors: {
  custom: {
    50: '#e380c2',
    500: '#d140a8',
    950: '#000000',
  },
}
SCSS
$custom: #d140a8;
$custom-light: #e380c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d140a8",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 168
  },
  "hsl": {
    "h": 316.966,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.2096,
    "h": 341.3
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#D140A8
secondary
#97D5A9
accent
#E47144
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D140A8

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

Preview Lab → · Contrast checker → · Palette generator →

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