#D140B1#D140B1

#D140B1 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.7% C 0.215 H 338.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D140B1
RGBrgb(209, 64, 177)
HSLhsl(313, 61%, 54%)
HSVhsv(313, 69%, 82%)
CMYKcmyk(0%, 69.4%, 15.3%, 18%)
CIE-LABlab(52.29, 67.64, -29.71)
CIE-LCHlch(52.29, 73.88, 336.29°)
OKLaboklab(61.71% 0.1999 -0.0805)
OKLCHoklch(61.71% 0.215 338.1)
XYZxyz(36.0644, 20.3997, 43.6246)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140B1 #40D160
analogous
#A840D1 #D140B1 #D14068
triadic
#D140B1 #B1D140 #40B1D1
tetradic
#D140B1 #D1A840 #40D160 #4068D1
square
#D140B1 #D1A840 #40D160 #4068D1
split-complementary
#D140B1 #68D140 #40D1A8
monochromatic
#791D65 #AB298E #D140B1 #DD71C5 #E9A3D9

Accessibility & contrast

On white

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

On black

5.08
#D140B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140B1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140B1#FFFFFF#000000##000000
##D140B11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#DC4773
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d140b1;
/* rgb */ color: rgb(209, 64, 177);
/* oklch */ color: oklch(61.7% 0.215 338.1);
Tailwind
colors: {
  custom: {
    50: '#e381c8',
    500: '#d140b1',
    950: '#000000',
  },
}
SCSS
$custom: #d140b1;
$custom-light: #e381c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d140b1",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 313.241,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.21548,
    "h": 338.1
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D140B1

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

Preview Lab → · Contrast checker → · Palette generator →

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