#C237AC#C237AC

#C237AC is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.214 H 335.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C237AC
RGBrgb(194, 55, 172)
HSLhsl(309, 56%, 49%)
HSVhsv(309, 72%, 76%)
CMYKcmyk(0%, 71.6%, 11.3%, 23.9%)
CIE-LABlab(48.49, 66.43, -32.88)
CIE-LCHlch(48.49, 74.12, 333.66°)
OKLaboklab(58.41% 0.1938 -0.0898)
OKLCHoklch(58.41% 0.214 335.1)
XYZxyz(31.0611, 17.1830, 40.7025)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237AC #37C24D
analogous
#9337C2 #C237AC #C23767
triadic
#C237AC #ACC237 #37ACC2
tetradic
#C237AC #C29337 #37C24D #3767C2
square
#C237AC #C29337 #37C24D #3767C2
split-complementary
#C237AC #67C237 #37C293
monochromatic
#631C57 #922982 #C237AC #D363C1 #E093D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C237AC#FFFFFF#000000##FFFFFF
##C237AC1.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)
#3766AF
Deuteranopia (green-blind)
#677BA9
Tritanopia (blue-blind)
#CC426D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c237ac;
/* rgb */ color: rgb(194, 55, 172);
/* oklch */ color: oklch(58.4% 0.214 335.1);
Tailwind
colors: {
  custom: {
    50: '#d87bc5',
    500: '#c237ac',
    950: '#000000',
  },
}
SCSS
$custom: #c237ac;
$custom-light: #d87bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c237ac",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 309.496,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.21361,
    "h": 335.1
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#C237AC
secondary
#89CB94
accent
#DF6049
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C237AC

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

Preview Lab → · Contrast checker → · Palette generator →

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