#D12CBD#D12CBD

#D12CBD is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.8% C 0.244 H 333.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D12CBD
RGBrgb(209, 44, 189)
HSLhsl(307, 65%, 50%)
HSVhsv(307, 79%, 82%)
CMYKcmyk(0%, 78.9%, 9.6%, 18%)
CIE-LABlab(50.73, 75.42, -39.14)
CIE-LCHlch(50.73, 84.97, 332.57°)
OKLaboklab(60.77% 0.2189 -0.1074)
OKLCHoklch(60.77% 0.244 333.9)
XYZxyz(36.3808, 19.0341, 49.8921)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12CBD #2CD140
analogous
#932CD1 #D12CBD #D12C6A
triadic
#D12CBD #BDD12C #2CBDD1
tetradic
#D12CBD #D1932C #2CD140 #2C6AD1
square
#D12CBD #D1932C #2CD140 #2C6AD1
split-complementary
#D12CBD #6AD12C #2CD193
monochromatic
#6C1762 #9E218F #D12CBD #DD5DCD #E890DD

Accessibility & contrast

On white

4.37
#D12CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D12CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12CBD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12CBD#FFFFFF#000000##000000
##D12CBD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#DB3E74
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d12cbd;
/* rgb */ color: rgb(209, 44, 189);
/* oklch */ color: oklch(60.8% 0.244 333.9);
Tailwind
colors: {
  custom: {
    50: '#e379d1',
    500: '#d12cbd',
    950: '#000000',
  },
}
SCSS
$custom: #d12cbd;
$custom-light: #e379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d12cbd",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 307.273,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.24386,
    "h": 333.9
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#D12CBD
secondary
#87D290
accent
#E85440
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D12CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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