#D140B5#D140B5

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

Color values

HEX#D140B5
RGBrgb(209, 64, 181)
HSLhsl(312, 61%, 54%)
HSVhsv(312, 69%, 82%)
CMYKcmyk(0%, 69.4%, 13.4%, 18%)
CIE-LABlab(52.47, 68.21, -31.76)
CIE-LCHlch(52.47, 75.25, 335.03°)
OKLaboklab(61.9% 0.2004 -0.0864)
OKLCHoklch(61.9% 0.218 336.7)
XYZxyz(36.4690, 20.5615, 45.7552)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140B5 #40D15C
analogous
#A440D1 #D140B5 #D1406C
triadic
#D140B5 #B5D140 #40B5D1
tetradic
#D140B5 #D1A440 #40D15C #406CD1
square
#D140B5 #D1A440 #40D15C #406CD1
split-complementary
#D140B5 #6CD140 #40D1A4
monochromatic
#791D68 #AB2992 #D140B5 #DD71C8 #E9A3DB

Accessibility & contrast

On white

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

On black

5.11
#D140B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140B5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140B5#FFFFFF#000000##000000
##D140B51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#7385B1
Tritanopia (blue-blind)
#DC4975
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d140b5;
/* rgb */ color: rgb(209, 64, 181);
/* oklch */ color: oklch(61.9% 0.218 336.7);
Tailwind
colors: {
  custom: {
    50: '#e381cb',
    500: '#d140b5',
    950: '#000000',
  },
}
SCSS
$custom: #d140b5;
$custom-light: #e381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d140b5",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 311.586,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.21819,
    "h": 336.7
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#D140B5
secondary
#97D5A3
accent
#E46344
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D140B5

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

Preview Lab → · Contrast checker → · Palette generator →

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