#D140B4#D140B4

#D140B4 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.9% C 0.218 H 337.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D140B4
RGBrgb(209, 64, 180)
HSLhsl(312, 61%, 54%)
HSVhsv(312, 69%, 82%)
CMYKcmyk(0%, 69.4%, 13.9%, 18%)
CIE-LABlab(52.42, 68.07, -31.25)
CIE-LCHlch(52.42, 74.90, 335.34°)
OKLaboklab(61.85% 0.2003 -0.0849)
OKLCHoklch(61.85% 0.218 337)
XYZxyz(36.3667, 20.5207, 45.2167)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140B4 #40D15D
analogous
#A540D1 #D140B4 #D1406B
triadic
#D140B4 #B4D140 #40B4D1
tetradic
#D140B4 #D1A540 #40D15D #406BD1
square
#D140B4 #D1A540 #40D15D #406BD1
split-complementary
#D140B4 #6BD140 #40D1A5
monochromatic
#791D67 #AB2991 #D140B4 #DD71C7 #E9A3DB

Accessibility & contrast

On white

4.11
#D140B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D140B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140B4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140B4#FFFFFF#000000##000000
##D140B41.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446FB7
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#DC4875
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d140b4;
/* rgb */ color: rgb(209, 64, 180);
/* oklch */ color: oklch(61.9% 0.218 337.0);
Tailwind
colors: {
  custom: {
    50: '#e381cb',
    500: '#d140b4',
    950: '#000000',
  },
}
SCSS
$custom: #d140b4;
$custom-light: #e381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d140b4",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 312,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.21751,
    "h": 337
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#D140B4
secondary
#97D5A4
accent
#E46444
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D140B4

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

Preview Lab → · Contrast checker → · Palette generator →

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