#D12CBF#D12CBF

#D12CBF is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.9% C 0.245 H 333.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D12CBF
RGBrgb(209, 44, 191)
HSLhsl(307, 65%, 50%)
HSVhsv(307, 79%, 82%)
CMYKcmyk(0%, 78.9%, 8.6%, 18%)
CIE-LABlab(50.83, 75.70, -40.14)
CIE-LCHlch(50.83, 85.69, 332.06°)
OKLaboklab(60.88% 0.219 -0.1103)
OKLCHoklch(60.88% 0.245 333.3)
XYZxyz(36.5994, 19.1215, 51.0434)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12CBF #2CD13E
analogous
#902CD1 #D12CBF #D12C6D
triadic
#D12CBF #BFD12C #2CBFD1
tetradic
#D12CBF #D1902C #2CD13E #2C6DD1
square
#D12CBF #D1902C #2CD13E #2C6DD1
split-complementary
#D12CBF #6DD12C #2CD190
monochromatic
#6C1763 #9E2191 #D12CBF #DD5DCF #E890DE

Accessibility & contrast

On white

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

On black

4.82
#D12CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12CBF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12CBF#FFFFFF#000000##000000
##D12CBF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#DB3F75
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d12cbf;
/* rgb */ color: rgb(209, 44, 191);
/* oklch */ color: oklch(60.9% 0.245 333.3);
Tailwind
colors: {
  custom: {
    50: '#e379d3',
    500: '#d12cbf',
    950: '#000000',
  },
}
SCSS
$custom: #d12cbf;
$custom-light: #e379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d12cbf",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 306.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.2452,
    "h": 333.3
  },
  "luminance": 0.19118
}

Semantic roles & 50–950 ramp

primary
#D12CBF
secondary
#87D28F
accent
#E85240
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D12CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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