#D140C3#D140C3

#D140C3 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.6% C 0.228 H 332.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D140C3
RGBrgb(209, 64, 195)
HSLhsl(306, 61%, 54%)
HSVhsv(306, 69%, 82%)
CMYKcmyk(0%, 69.4%, 6.7%, 18%)
CIE-LABlab(53.13, 70.30, -38.83)
CIE-LCHlch(53.13, 80.31, 331.09°)
OKLaboklab(62.59% 0.2017 -0.1066)
OKLCHoklch(62.59% 0.228 332.1)
XYZxyz(37.9783, 21.1653, 53.7042)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140C3 #40D14E
analogous
#9640D1 #D140C3 #D1407A
triadic
#D140C3 #C3D140 #40C3D1
tetradic
#D140C3 #D19640 #40D14E #407AD1
square
#D140C3 #D19640 #40D14E #407AD1
split-complementary
#D140C3 #7AD140 #40D196
monochromatic
#791D70 #AB299E #D140C3 #DD71D2 #E9A3E2

Accessibility & contrast

On white

4.01
#D140C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D140C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140C3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140C3#FFFFFF#000000##000000
##D140C31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3872C7
Deuteranopia (green-blind)
#6D86BF
Tritanopia (blue-blind)
#DA4F7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d140c3;
/* rgb */ color: rgb(209, 64, 195);
/* oklch */ color: oklch(62.6% 0.228 332.1);
Tailwind
colors: {
  custom: {
    50: '#e381d5',
    500: '#d140c3',
    950: '#000000',
  },
}
SCSS
$custom: #d140c3;
$custom-light: #e381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d140c3",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 305.793,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.22812,
    "h": 332.1
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#D140C3
secondary
#97D59D
accent
#E45344
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D140C3

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

Preview Lab → · Contrast checker → · Palette generator →

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