#D140C8#D140C8

#D140C8 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.9% C 0.232 H 330.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D140C8
RGBrgb(209, 64, 200)
HSLhsl(304, 61%, 54%)
HSVhsv(304, 69%, 82%)
CMYKcmyk(0%, 69.4%, 4.3%, 18%)
CIE-LABlab(53.38, 71.07, -41.32)
CIE-LCHlch(53.38, 82.21, 329.83°)
OKLaboklab(62.86% 0.2019 -0.1138)
OKLCHoklch(62.86% 0.232 330.6)
XYZxyz(38.5531, 21.3952, 56.7315)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140C8 #40D149
analogous
#9140D1 #D140C8 #D1407F
triadic
#D140C8 #C8D140 #40C8D1
tetradic
#D140C8 #D19140 #40D149 #407FD1
square
#D140C8 #D19140 #40D149 #407FD1
split-complementary
#D140C8 #7FD140 #40D191
monochromatic
#791D74 #AB29A3 #D140C8 #DD71D6 #E9A3E4

Accessibility & contrast

On white

3.98
#D140C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D140C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140C8#FFFFFF#000000##000000
##D140C81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#6B87C4
Tritanopia (blue-blind)
#D9517F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d140c8;
/* rgb */ color: rgb(209, 64, 200);
/* oklch */ color: oklch(62.9% 0.232 330.6);
Tailwind
colors: {
  custom: {
    50: '#e381d9',
    500: '#d140c8',
    950: '#000000',
  },
}
SCSS
$custom: #d140c8;
$custom-light: #e381d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d140c8",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 303.724,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.23181,
    "h": 330.6
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#D140C8
secondary
#97D59B
accent
#E44D44
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #D140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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