#D140B2#D140B2

#D140B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.8% C 0.216 H 337.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D140B2
RGBrgb(209, 64, 178)
HSLhsl(313, 61%, 54%)
HSVhsv(313, 69%, 82%)
CMYKcmyk(0%, 69.4%, 14.8%, 18%)
CIE-LABlab(52.33, 67.78, -30.22)
CIE-LCHlch(52.33, 74.22, 335.97°)
OKLaboklab(61.76% 0.2 -0.082)
OKLCHoklch(61.76% 0.216 337.7)
XYZxyz(36.1645, 20.4397, 44.1515)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140B2 #40D15F
analogous
#A840D1 #D140B2 #D14069
triadic
#D140B2 #B2D140 #40B2D1
tetradic
#D140B2 #D1A840 #40D15F #4069D1
square
#D140B2 #D1A840 #40D15F #4069D1
split-complementary
#D140B2 #69D140 #40D1A8
monochromatic
#791D66 #AB298F #D140B2 #DD71C6 #E9A3DA

Accessibility & contrast

On white

4.13
#D140B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D140B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140B2#FFFFFF#000000##000000
##D140B21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#DC4774
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d140b2;
/* rgb */ color: rgb(209, 64, 178);
/* oklch */ color: oklch(61.8% 0.216 337.7);
Tailwind
colors: {
  custom: {
    50: '#e381c9',
    500: '#d140b2',
    950: '#000000',
  },
}
SCSS
$custom: #d140b2;
$custom-light: #e381c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d140b2",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 312.828,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.21615,
    "h": 337.7
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#D140B2
secondary
#97D5A5
accent
#E46644
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D140B2

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

Preview Lab → · Contrast checker → · Palette generator →

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