#D140B7#D140B7

#D140B7 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 62.0% C 0.220 H 336.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D140B7
RGBrgb(209, 64, 183)
HSLhsl(311, 61%, 54%)
HSVhsv(311, 69%, 82%)
CMYKcmyk(0%, 69.4%, 12.4%, 18%)
CIE-LABlab(52.56, 68.50, -32.78)
CIE-LCHlch(52.56, 75.94, 334.43°)
OKLaboklab(62% 0.2006 -0.0893)
OKLCHoklch(62% 0.22 336)
XYZxyz(36.6756, 20.6442, 46.8437)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140B7 #40D15A
analogous
#A240D1 #D140B7 #D1406E
triadic
#D140B7 #B7D140 #40B7D1
tetradic
#D140B7 #D1A240 #40D15A #406ED1
square
#D140B7 #D1A240 #40D15A #406ED1
split-complementary
#D140B7 #6ED140 #40D1A2
monochromatic
#791D69 #AB2993 #D140B7 #DD71CA #E9A3DC

Accessibility & contrast

On white

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

On black

5.13
#D140B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140B7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140B7#FFFFFF#000000##000000
##D140B71.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#426FBA
Deuteranopia (green-blind)
#7385B3
Tritanopia (blue-blind)
#DB4A76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d140b7;
/* rgb */ color: rgb(209, 64, 183);
/* oklch */ color: oklch(62.0% 0.220 336.0);
Tailwind
colors: {
  custom: {
    50: '#e381cd',
    500: '#d140b7',
    950: '#000000',
  },
}
SCSS
$custom: #d140b7;
$custom-light: #e381cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d140b7",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 310.759,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.21957,
    "h": 336
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#D140B7
secondary
#97D5A2
accent
#E46044
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D140B7

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

Preview Lab → · Contrast checker → · Palette generator →

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