#C732A7#C732A7

#C732A7 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.218 H 338.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C732A7
RGBrgb(199, 50, 167)
HSLhsl(313, 60%, 49%)
HSVhsv(313, 75%, 78%)
CMYKcmyk(0%, 74.9%, 16.1%, 22%)
CIE-LABlab(48.53, 68.48, -29.81)
CIE-LCHlch(48.53, 74.69, 336.48°)
OKLaboklab(58.53% 0.2029 -0.0809)
OKLCHoklch(58.53% 0.218 338.3)
XYZxyz(31.6696, 17.2164, 38.2069)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732A7 #32C752
analogous
#9D32C7 #C732A7 #C7325D
triadic
#C732A7 #A7C732 #32A7C7
tetradic
#C732A7 #C79D32 #32C752 #325DC7
square
#C732A7 #C79D32 #32C752 #325DC7
split-complementary
#C732A7 #5DC732 #32C79D
monochromatic
#651955 #96267E #C732A7 #D75FBD #E390D1

Accessibility & contrast

On white

4.73
#C732A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C732A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C732A7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732A7#FFFFFF#000000##FFFFFF
##C732A71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AA
Deuteranopia (green-blind)
#6C7BA4
Tritanopia (blue-blind)
#D23A69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c732a7;
/* rgb */ color: rgb(199, 50, 167);
/* oklch */ color: oklch(58.5% 0.218 338.3);
Tailwind
colors: {
  custom: {
    50: '#dc79c1',
    500: '#c732a7',
    950: '#000000',
  },
}
SCSS
$custom: #c732a7;
$custom-light: #dc79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c732a7",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 312.886,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.21845,
    "h": 338.3
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C732A7

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

Preview Lab → · Contrast checker → · Palette generator →

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