#D140D2#D140D2

#D140D2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.4% C 0.239 H 327.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D140D2
RGBrgb(209, 64, 210)
HSLhsl(300, 62%, 54%)
HSVhsv(300, 70%, 82%)
CMYKcmyk(0.5%, 69.5%, 0%, 17.6%)
CIE-LABlab(53.90, 72.66, -46.22)
CIE-LCHlch(53.90, 86.12, 327.54°)
OKLaboklab(63.4% 0.2022 -0.128)
OKLCHoklch(63.4% 0.239 327.7)
XYZxyz(39.7602, 21.8780, 63.0890)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140D2 #41D240
analogous
#8840D2 #D140D2 #D2408A
triadic
#D140D2 #D2D140 #40D2D1
tetradic
#D140D2 #D28840 #41D240 #408AD2
square
#D140D2 #D28840 #41D240 #408AD2
split-complementary
#D140D2 #8AD240 #40D288
monochromatic
#7A1D7B #AB29AC #D140D2 #DD72DE #E9A3E9

Accessibility & contrast

On white

3.91
#D140D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D140D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140D2#FFFFFF#000000##000000
##D140D21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#6587CE
Tritanopia (blue-blind)
#D75685
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d140d2;
/* rgb */ color: rgb(209, 64, 210);
/* oklch */ color: oklch(63.4% 0.239 327.7);
Tailwind
colors: {
  custom: {
    50: '#e382e0',
    500: '#d140d2',
    950: '#000000',
  },
}
SCSS
$custom: #d140d2;
$custom-light: #e382e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d140d2",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 299.589,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63395,
    "c": 0.23934,
    "h": 327.7
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#D140D2
secondary
#98D698
accent
#E54344
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D140D2

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

Preview Lab → · Contrast checker → · Palette generator →

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