#D140CB#D140CB

#D140CB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.0% C 0.234 H 329.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D140CB
RGBrgb(209, 64, 203)
HSLhsl(302, 61%, 54%)
HSVhsv(302, 69%, 82%)
CMYKcmyk(0%, 69.4%, 2.9%, 18%)
CIE-LABlab(53.53, 71.54, -42.80)
CIE-LCHlch(53.53, 83.37, 329.11°)
OKLaboklab(63.01% 0.2021 -0.1181)
OKLCHoklch(63.01% 0.234 329.7)
XYZxyz(38.9071, 21.5368, 58.5961)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140CB #40D146
analogous
#8E40D1 #D140CB #D14082
triadic
#D140CB #CBD140 #40CBD1
tetradic
#D140CB #D18E40 #40D146 #4082D1
square
#D140CB #D18E40 #40D146 #4082D1
split-complementary
#D140CB #82D140 #40D18E
monochromatic
#791D76 #AB29A5 #D140CB #DD71D8 #E9A3E6

Accessibility & contrast

On white

3.96
#D140CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D140CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140CB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140CB#FFFFFF#000000##000000
##D140CB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#6987C7
Tritanopia (blue-blind)
#D85381
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d140cb;
/* rgb */ color: rgb(209, 64, 203);
/* oklch */ color: oklch(63.0% 0.234 329.7);
Tailwind
colors: {
  custom: {
    50: '#e381db',
    500: '#d140cb',
    950: '#000000',
  },
}
SCSS
$custom: #d140cb;
$custom-light: #e381db;
$custom-dark: #000000;
JSON
{
  "hex": "#d140cb",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 302.483,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.23404,
    "h": 329.7
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#D140CB
secondary
#97D59A
accent
#E44A44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D140CB

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

Preview Lab → · Contrast checker → · Palette generator →

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