#D140C2#D140C2

#D140C2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.5% C 0.227 H 332.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D140C2
RGBrgb(209, 64, 194)
HSLhsl(306, 61%, 54%)
HSVhsv(306, 69%, 82%)
CMYKcmyk(0%, 69.4%, 7.2%, 18%)
CIE-LABlab(53.08, 70.15, -38.33)
CIE-LCHlch(53.08, 79.94, 331.35°)
OKLaboklab(62.54% 0.2016 -0.1052)
OKLCHoklch(62.54% 0.227 332.4)
XYZxyz(37.8656, 21.1202, 53.1108)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140C2 #40D14F
analogous
#9740D1 #D140C2 #D14079
triadic
#D140C2 #C2D140 #40C2D1
tetradic
#D140C2 #D19740 #40D14F #4079D1
square
#D140C2 #D19740 #40D14F #4079D1
split-complementary
#D140C2 #79D140 #40D197
monochromatic
#791D70 #AB299D #D140C2 #DD71D2 #E9A3E2

Accessibility & contrast

On white

4.02
#D140C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D140C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140C2#FFFFFF#000000##000000
##D140C21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C6
Deuteranopia (green-blind)
#6E86BE
Tritanopia (blue-blind)
#DA4F7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d140c2;
/* rgb */ color: rgb(209, 64, 194);
/* oklch */ color: oklch(62.5% 0.227 332.4);
Tailwind
colors: {
  custom: {
    50: '#e381d5',
    500: '#d140c2',
    950: '#000000',
  },
}
SCSS
$custom: #d140c2;
$custom-light: #e381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d140c2",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 306.207,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.22739,
    "h": 332.4
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#D140C2
secondary
#97D59E
accent
#E45444
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D140C2

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

Preview Lab → · Contrast checker → · Palette generator →

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