#D32FB1#D32FB1

#D32FB1 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.7% C 0.234 H 338.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D32FB1
RGBrgb(211, 47, 177)
HSLhsl(312, 65%, 51%)
HSVhsv(312, 78%, 83%)
CMYKcmyk(0%, 77.7%, 16.1%, 17.3%)
CIE-LABlab(50.76, 73.40, -32.07)
CIE-LCHlch(50.76, 80.10, 336.40°)
OKLaboklab(60.67% 0.2177 -0.0871)
OKLCHoklch(60.67% 0.234 338.2)
XYZxyz(35.8172, 19.0598, 43.3790)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D32FB1 #2FD351
analogous
#A32FD3 #D32FB1 #D32F5F
triadic
#D32FB1 #B1D32F #2FB1D3
tetradic
#D32FB1 #D3A32F #2FD351 #2F5FD3
square
#D32FB1 #D3A32F #2FD351 #2F5FD3
split-complementary
#D32FB1 #5FD32F #2FD3A3
monochromatic
#70185E #A22288 #D32FB1 #DE62C4 #E894D7

Accessibility & contrast

On white

4.36
#D32FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D32FB1#FFFFFF#000000##000000
##D32FB11.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#7082AD
Tritanopia (blue-blind)
#DF396E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d32fb1;
/* rgb */ color: rgb(211, 47, 177);
/* oklch */ color: oklch(60.7% 0.234 338.2);
Tailwind
colors: {
  custom: {
    50: '#e57ac8',
    500: '#d32fb1',
    950: '#000000',
  },
}
SCSS
$custom: #d32fb1;
$custom-light: #e57ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#d32fb1",
  "rgb": {
    "r": 211,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 312.439,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.23444,
    "h": 338.2
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#D32FB1
secondary
#8AD39A
accent
#E86340
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D32FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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