#D12BB9#D12BB9

#D12BB9 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.242 H 335.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D12BB9
RGBrgb(209, 43, 185)
HSLhsl(309, 66%, 49%)
HSVhsv(309, 79%, 82%)
CMYKcmyk(0%, 79.4%, 11.5%, 18%)
CIE-LABlab(50.44, 75.10, -37.27)
CIE-LCHlch(50.44, 83.84, 333.61°)
OKLaboklab(60.5% 0.2195 -0.102)
OKLCHoklch(60.5% 0.242 335.1)
XYZxyz(35.9158, 18.7892, 47.6247)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12BB9 #2BD143
analogous
#962BD1 #D12BB9 #D12B66
triadic
#D12BB9 #B9D12B #2BB9D1
tetradic
#D12BB9 #D1962B #2BD143 #2B66D1
square
#D12BB9 #D1962B #2BD143 #2B66D1
split-complementary
#D12BB9 #66D12B #2BD196
monochromatic
#6B165F #9E218C #D12BB9 #DD5CCB #E88FDB

Accessibility & contrast

On white

4.41
#D12BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D12BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12BB9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12BB9#FFFFFF#000000##000000
##D12BB91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#6A81B5
Tritanopia (blue-blind)
#DB3B72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d12bb9;
/* rgb */ color: rgb(209, 43, 185);
/* oklch */ color: oklch(60.5% 0.242 335.1);
Tailwind
colors: {
  custom: {
    50: '#e379ce',
    500: '#d12bb9',
    950: '#000000',
  },
}
SCSS
$custom: #d12bb9;
$custom-light: #e379ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d12bb9",
  "rgb": {
    "r": 209,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 308.675,
    "s": 65.873,
    "l": 49.412
  },
  "oklch": {
    "l": 0.605,
    "c": 0.24204,
    "h": 335.1
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#D12BB9
secondary
#86D291
accent
#E9583F
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D12BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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