#D732B5#D732B5

#D732B5 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.7% C 0.236 H 338.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D732B5
RGBrgb(215, 50, 181)
HSLhsl(312, 67%, 52%)
HSVhsv(312, 77%, 84%)
CMYKcmyk(0%, 76.7%, 15.8%, 15.7%)
CIE-LABlab(51.91, 74.01, -32.55)
CIE-LCHlch(51.91, 80.85, 336.26°)
OKLaboklab(61.69% 0.2193 -0.0884)
OKLCHoklch(61.69% 0.236 338)
XYZxyz(37.5063, 20.0681, 45.6054)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D732B5 #32D754
analogous
#A732D7 #D732B5 #D73262
triadic
#D732B5 #B5D732 #32B5D7
tetradic
#D732B5 #D7A732 #32D754 #3262D7
square
#D732B5 #D7A732 #32D754 #3262D7
split-complementary
#D732B5 #62D732 #32D7A7
monochromatic
#771764 #AB218E #D732B5 #E165C7 #EB98DA

Accessibility & contrast

On white

4.19
#D732B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D732B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D732B5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D732B5#FFFFFF#000000##000000
##D732B51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB8
Deuteranopia (green-blind)
#7385B1
Tritanopia (blue-blind)
#E33C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d732b5;
/* rgb */ color: rgb(215, 50, 181);
/* oklch */ color: oklch(61.7% 0.236 338.0);
Tailwind
colors: {
  custom: {
    50: '#e87ccb',
    500: '#d732b5',
    950: '#000000',
  },
}
SCSS
$custom: #d732b5;
$custom-light: #e87ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#d732b5",
  "rgb": {
    "r": 215,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 312.364,
    "s": 67.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.2364,
    "h": 338
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#D732B5
secondary
#8ED79D
accent
#EA613E
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D732B5

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

Preview Lab → · Contrast checker → · Palette generator →

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