#D12CC3#D12CC3

#D12CC3 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.1% C 0.248 H 332.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D12CC3
RGBrgb(209, 44, 195)
HSLhsl(305, 65%, 50%)
HSVhsv(305, 79%, 82%)
CMYKcmyk(0%, 78.9%, 6.7%, 18%)
CIE-LABlab(51.04, 76.28, -42.13)
CIE-LCHlch(51.04, 87.15, 331.09°)
OKLaboklab(61.09% 0.2191 -0.116)
OKLCHoklch(61.09% 0.248 332.1)
XYZxyz(37.0456, 19.3000, 53.3933)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12CC3 #2CD13A
analogous
#8D2CD1 #D12CC3 #D12C71
triadic
#D12CC3 #C3D12C #2CC3D1
tetradic
#D12CC3 #D18D2C #2CD13A #2C71D1
square
#D12CC3 #D18D2C #2CD13A #2C71D1
split-complementary
#D12CC3 #71D12C #2CD18D
monochromatic
#6C1765 #9E2194 #D12CC3 #DD5DD2 #E890E0

Accessibility & contrast

On white

4.32
#D12CC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D12CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12CC3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12CC3#FFFFFF#000000##000000
##D12CC31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6BC7
Deuteranopia (green-blind)
#6582BF
Tritanopia (blue-blind)
#DA4278
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d12cc3;
/* rgb */ color: rgb(209, 44, 195);
/* oklch */ color: oklch(61.1% 0.248 332.1);
Tailwind
colors: {
  custom: {
    50: '#e379d5',
    500: '#d12cc3',
    950: '#000000',
  },
}
SCSS
$custom: #d12cc3;
$custom-light: #e379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d12cc3",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 305.091,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.24791,
    "h": 332.1
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#D12CC3
secondary
#87D28D
accent
#E84E40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D12CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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