#D140B6#D140B6

#D140B6 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.9% C 0.219 H 336.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D140B6
RGBrgb(209, 64, 182)
HSLhsl(311, 61%, 54%)
HSVhsv(311, 69%, 82%)
CMYKcmyk(0%, 69.4%, 12.9%, 18%)
CIE-LABlab(52.51, 68.36, -32.27)
CIE-LCHlch(52.51, 75.59, 334.73°)
OKLaboklab(61.95% 0.2005 -0.0878)
OKLCHoklch(61.95% 0.219 336.3)
XYZxyz(36.5719, 20.6027, 46.2975)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140B6 #40D15B
analogous
#A340D1 #D140B6 #D1406D
triadic
#D140B6 #B6D140 #40B6D1
tetradic
#D140B6 #D1A340 #40D15B #406DD1
square
#D140B6 #D1A340 #40D15B #406DD1
split-complementary
#D140B6 #6DD140 #40D1A3
monochromatic
#791D68 #AB2993 #D140B6 #DD71C9 #E9A3DC

Accessibility & contrast

On white

4.10
#D140B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D140B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140B6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140B6#FFFFFF#000000##000000
##D140B61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#426FB9
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#DC4976
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d140b6;
/* rgb */ color: rgb(209, 64, 182);
/* oklch */ color: oklch(61.9% 0.219 336.3);
Tailwind
colors: {
  custom: {
    50: '#e381cc',
    500: '#d140b6',
    950: '#000000',
  },
}
SCSS
$custom: #d140b6;
$custom-light: #e381cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d140b6",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 311.172,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.21888,
    "h": 336.3
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#D140B6
secondary
#97D5A3
accent
#E46144
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D140B6

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

Preview Lab → · Contrast checker → · Palette generator →

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