#C236AB#C236AB

#C236AB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.214 H 335.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C236AB
RGBrgb(194, 54, 171)
HSLhsl(310, 56%, 49%)
HSVhsv(310, 72%, 76%)
CMYKcmyk(0%, 72.2%, 11.9%, 23.9%)
CIE-LABlab(48.32, 66.61, -32.55)
CIE-LCHlch(48.32, 74.14, 333.95°)
OKLaboklab(58.28% 0.1947 -0.0888)
OKLCHoklch(58.28% 0.214 335.5)
XYZxyz(30.9184, 17.0507, 40.1829)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C236AB #36C24D
analogous
#9336C2 #C236AB #C23665
triadic
#C236AB #ABC236 #36ABC2
tetradic
#C236AB #C29336 #36C24D #3665C2
square
#C236AB #C29336 #36C24D #3665C2
split-complementary
#C236AB #65C236 #36C293
monochromatic
#621B57 #922981 #C236AB #D362C1 #E192D4

Accessibility & contrast

On white

4.76
#C236AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C236AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C236AB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C236AB#FFFFFF#000000##FFFFFF
##C236AB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CC416D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c236ab;
/* rgb */ color: rgb(194, 54, 171);
/* oklch */ color: oklch(58.3% 0.214 335.5);
Tailwind
colors: {
  custom: {
    50: '#d87ac4',
    500: '#c236ab',
    950: '#000000',
  },
}
SCSS
$custom: #c236ab;
$custom-light: #d87ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#c236ab",
  "rgb": {
    "r": 194,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 309.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.21403,
    "h": 335.5
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#C236AB
secondary
#88CC93
accent
#E06148
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C236AB

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

Preview Lab → · Contrast checker → · Palette generator →

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