#D140CF#D140CF

#D140CF is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.2% C 0.237 H 328.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D140CF
RGBrgb(209, 64, 207)
HSLhsl(301, 61%, 54%)
HSVhsv(301, 69%, 82%)
CMYKcmyk(0%, 69.4%, 1%, 18%)
CIE-LABlab(53.74, 72.18, -44.76)
CIE-LCHlch(53.74, 84.93, 328.20°)
OKLaboklab(63.23% 0.2022 -0.1238)
OKLCHoklch(63.23% 0.237 328.5)
XYZxyz(39.3899, 21.7299, 61.1390)
Luminance0.2173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140CF #40D142
analogous
#8A40D1 #D140CF #D14086
triadic
#D140CF #CFD140 #40CFD1
tetradic
#D140CF #D18A40 #40D142 #4086D1
square
#D140CF #D18A40 #40D142 #4086D1
split-complementary
#D140CF #86D140 #40D18A
monochromatic
#791D78 #AB29A9 #D140CF #DD71DB #E9A3E8

Accessibility & contrast

On white

3.93
#D140CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D140CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140CF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140CF#FFFFFF#000000##000000
##D140CF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#D85583
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d140cf;
/* rgb */ color: rgb(209, 64, 207);
/* oklch */ color: oklch(63.2% 0.237 328.5);
Tailwind
colors: {
  custom: {
    50: '#e382de',
    500: '#d140cf',
    950: '#000000',
  },
}
SCSS
$custom: #d140cf;
$custom-light: #e382de;
$custom-dark: #000000;
JSON
{
  "hex": "#d140cf",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 300.828,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6323,
    "c": 0.23706,
    "h": 328.5
  },
  "luminance": 0.21727
}

Semantic roles & 50–950 ramp

primary
#D140CF
secondary
#97D598
accent
#E44644
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D140CF

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

Preview Lab → · Contrast checker → · Palette generator →

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