#D140BD#D140BD

#D140BD is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.3% C 0.224 H 334.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D140BD
RGBrgb(209, 64, 189)
HSLhsl(308, 61%, 54%)
HSVhsv(308, 69%, 82%)
CMYKcmyk(0%, 69.4%, 9.6%, 18%)
CIE-LABlab(52.84, 69.39, -35.82)
CIE-LCHlch(52.84, 78.09, 332.70°)
OKLaboklab(62.29% 0.2012 -0.098)
OKLCHoklch(62.29% 0.224 334)
XYZxyz(37.3135, 20.8994, 50.2030)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140BD #40D154
analogous
#9C40D1 #D140BD #D14074
triadic
#D140BD #BDD140 #40BDD1
tetradic
#D140BD #D19C40 #40D154 #4074D1
square
#D140BD #D19C40 #40D154 #4074D1
split-complementary
#D140BD #74D140 #40D19C
monochromatic
#791D6D #AB2999 #D140BD #DD71CE #E9A3DF

Accessibility & contrast

On white

4.05
#D140BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D140BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140BD#FFFFFF#000000##000000
##D140BD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#7086B9
Tritanopia (blue-blind)
#DB4C7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d140bd;
/* rgb */ color: rgb(209, 64, 189);
/* oklch */ color: oklch(62.3% 0.224 334.0);
Tailwind
colors: {
  custom: {
    50: '#e381d1',
    500: '#d140bd',
    950: '#000000',
  },
}
SCSS
$custom: #d140bd;
$custom-light: #e381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d140bd",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 308.276,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6229,
    "c": 0.22379,
    "h": 334
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#D140BD
secondary
#97D5A0
accent
#E45A44
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D140BD

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

Preview Lab → · Contrast checker → · Palette generator →

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