#D12CC0#D12CC0

#D12CC0 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.246 H 333.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D12CC0
RGBrgb(209, 44, 192)
HSLhsl(306, 65%, 50%)
HSVhsv(306, 79%, 82%)
CMYKcmyk(0%, 78.9%, 8.1%, 18%)
CIE-LABlab(50.88, 75.85, -40.64)
CIE-LCHlch(50.88, 86.05, 331.82°)
OKLaboklab(60.93% 0.219 -0.1117)
OKLCHoklch(60.93% 0.246 333)
XYZxyz(36.7098, 19.1657, 51.6249)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12CC0 #2CD13D
analogous
#902CD1 #D12CC0 #D12C6D
triadic
#D12CC0 #C0D12C #2CC0D1
tetradic
#D12CC0 #D1902C #2CD13D #2C6DD1
square
#D12CC0 #D1902C #2CD13D #2C6DD1
split-complementary
#D12CC0 #6DD12C #2CD190
monochromatic
#6C1763 #9E2192 #D12CC0 #DD5DD0 #E890DF

Accessibility & contrast

On white

4.35
#D12CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D12CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12CC0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12CC0#FFFFFF#000000##000000
##D12CC01.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#226AC4
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#DA4076
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d12cc0;
/* rgb */ color: rgb(209, 44, 192);
/* oklch */ color: oklch(60.9% 0.246 333.0);
Tailwind
colors: {
  custom: {
    50: '#e379d3',
    500: '#d12cc0',
    950: '#000000',
  },
}
SCSS
$custom: #d12cc0;
$custom-light: #e379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d12cc0",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 306.182,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.24588,
    "h": 333
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#D12CC0
secondary
#87D28E
accent
#E85140
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D12CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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