#D140C5#D140C5

#D140C5 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.7% C 0.230 H 331.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D140C5
RGBrgb(209, 64, 197)
HSLhsl(305, 61%, 54%)
HSVhsv(305, 69%, 82%)
CMYKcmyk(0%, 69.4%, 5.7%, 18%)
CIE-LABlab(53.23, 70.61, -39.83)
CIE-LCHlch(53.23, 81.06, 330.57°)
OKLaboklab(62.7% 0.2018 -0.1095)
OKLCHoklch(62.7% 0.23 331.5)
XYZxyz(38.2059, 21.2563, 54.9031)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140C5 #40D14C
analogous
#9540D1 #D140C5 #D1407C
triadic
#D140C5 #C5D140 #40C5D1
tetradic
#D140C5 #D19540 #40D14C #407CD1
square
#D140C5 #D19540 #40D14C #407CD1
split-complementary
#D140C5 #7CD140 #40D195
monochromatic
#791D72 #AB29A0 #D140C5 #DD71D4 #E9A3E3

Accessibility & contrast

On white

4.00
#D140C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D140C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140C5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140C5#FFFFFF#000000##000000
##D140C51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3672C9
Deuteranopia (green-blind)
#6C86C1
Tritanopia (blue-blind)
#D9507E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d140c5;
/* rgb */ color: rgb(209, 64, 197);
/* oklch */ color: oklch(62.7% 0.230 331.5);
Tailwind
colors: {
  custom: {
    50: '#e381d7',
    500: '#d140c5',
    950: '#000000',
  },
}
SCSS
$custom: #d140c5;
$custom-light: #e381d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d140c5",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 304.966,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62698,
    "c": 0.22959,
    "h": 331.5
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#D140C5
secondary
#97D59C
accent
#E45144
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D140C5

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

Preview Lab → · Contrast checker → · Palette generator →

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