#D32FAC#D32FAC

#D32FAC is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.4% C 0.231 H 339.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#D32FAC
RGBrgb(211, 47, 172)
HSLhsl(314, 65%, 51%)
HSVhsv(314, 78%, 83%)
CMYKcmyk(0%, 77.7%, 18.5%, 17.3%)
CIE-LABlab(50.53, 72.74, -29.49)
CIE-LCHlch(50.53, 78.49, 337.93°)
OKLaboklab(60.43% 0.2171 -0.0797)
OKLCHoklch(60.43% 0.231 339.8)
XYZxyz(35.3279, 18.8641, 40.8023)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D32FAC #2FD356
analogous
#A82FD3 #D32FAC #D32F5A
triadic
#D32FAC #ACD32F #2FACD3
tetradic
#D32FAC #D3A82F #2FD356 #2F5AD3
square
#D32FAC #D3A82F #2FD356 #2F5AD3
split-complementary
#D32FAC #5AD32F #2FD3A8
monochromatic
#70185B #A22284 #D32FAC #DE62C0 #E894D4

Accessibility & contrast

On white

4.40
#D32FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D32FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D32FAC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D32FAC#FFFFFF#000000##000000
##D32FAC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#7281A8
Tritanopia (blue-blind)
#E0366B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d32fac;
/* rgb */ color: rgb(211, 47, 172);
/* oklch */ color: oklch(60.4% 0.231 339.8);
Tailwind
colors: {
  custom: {
    50: '#e57ac5',
    500: '#d32fac',
    950: '#000000',
  },
}
SCSS
$custom: #d32fac;
$custom-light: #e57ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#d32fac",
  "rgb": {
    "r": 211,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 314.268,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.23132,
    "h": 339.8
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#D32FAC
secondary
#8AD39C
accent
#E86840
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D32FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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