#C732A8#C732A8

#C732A8 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.219 H 337.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C732A8
RGBrgb(199, 50, 168)
HSLhsl(312, 60%, 49%)
HSVhsv(312, 75%, 78%)
CMYKcmyk(0%, 74.9%, 15.6%, 22%)
CIE-LABlab(48.58, 68.62, -30.32)
CIE-LCHlch(48.58, 75.02, 336.16°)
OKLaboklab(58.58% 0.203 -0.0824)
OKLCHoklch(58.58% 0.219 337.9)
XYZxyz(31.7624, 17.2535, 38.6957)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732A8 #32C751
analogous
#9C32C7 #C732A8 #C7325E
triadic
#C732A8 #A8C732 #32A8C7
tetradic
#C732A8 #C79C32 #32C751 #325EC7
square
#C732A8 #C79C32 #32C751 #325EC7
split-complementary
#C732A8 #5EC732 #32C79C
monochromatic
#651955 #96267F #C732A8 #D75FBE #E390D2

Accessibility & contrast

On white

4.72
#C732A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C732A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C732A8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732A8#FFFFFF#000000##FFFFFF
##C732A81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AB
Deuteranopia (green-blind)
#6B7CA5
Tritanopia (blue-blind)
#D23A6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c732a8;
/* rgb */ color: rgb(199, 50, 168);
/* oklch */ color: oklch(58.6% 0.219 337.9);
Tailwind
colors: {
  custom: {
    50: '#dc79c2',
    500: '#c732a8',
    950: '#000000',
  },
}
SCSS
$custom: #c732a8;
$custom-light: #dc79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c732a8",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 312.483,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58576,
    "c": 0.2191,
    "h": 337.9
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#C732A8
secondary
#87CE96
accent
#E36645
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C732A8

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

Preview Lab → · Contrast checker → · Palette generator →

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