#D142C2#D142C2

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

Color values

HEX#D142C2
RGBrgb(209, 66, 194)
HSLhsl(306, 61%, 54%)
HSVhsv(306, 68%, 82%)
CMYKcmyk(0%, 68.4%, 7.2%, 18%)
CIE-LABlab(53.33, 69.44, -37.94)
CIE-LCHlch(53.33, 79.13, 331.35°)
OKLaboklab(62.72% 0.1996 -0.1041)
OKLCHoklch(62.72% 0.225 332.5)
XYZxyz(37.9804, 21.3498, 53.1490)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142C2 #42D151
analogous
#9942D1 #D142C2 #D1427B
triadic
#D142C2 #C2D142 #42C2D1
tetradic
#D142C2 #D19942 #42D151 #427BD1
square
#D142C2 #D19942 #42D151 #427BD1
split-complementary
#D142C2 #7BD142 #42D199
monochromatic
#7B1E71 #AC2A9E #D142C2 #DD73D2 #E9A4E2

Accessibility & contrast

On white

3.99
#D142C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D142C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142C2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142C2#FFFFFF#000000##000000
##D142C21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C6
Deuteranopia (green-blind)
#6F87BE
Tritanopia (blue-blind)
#DA507D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d142c2;
/* rgb */ color: rgb(209, 66, 194);
/* oklch */ color: oklch(62.7% 0.225 332.5);
Tailwind
colors: {
  custom: {
    50: '#e382d5',
    500: '#d142c2',
    950: '#000000',
  },
}
SCSS
$custom: #d142c2;
$custom-light: #e382d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d142c2",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 306.294,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.22507,
    "h": 332.5
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#D142C2
secondary
#99D69F
accent
#E45544
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D142C2

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

Preview Lab → · Contrast checker → · Palette generator →

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