#C337AB#C337AB

#C337AB is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.213 H 335.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C337AB
RGBrgb(195, 55, 171)
HSLhsl(310, 56%, 49%)
HSVhsv(310, 72%, 76%)
CMYKcmyk(0%, 71.8%, 12.3%, 23.5%)
CIE-LABlab(48.61, 66.52, -32.10)
CIE-LCHlch(48.61, 73.85, 334.24°)
OKLaboklab(58.52% 0.1947 -0.0875)
OKLCHoklch(58.52% 0.213 335.8)
XYZxyz(31.2230, 17.2775, 40.2107)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337AB #37C34F
analogous
#9537C3 #C337AB #C33765
triadic
#C337AB #ABC337 #37ABC3
tetradic
#C337AB #C39537 #37C34F #3765C3
square
#C337AB #C39537 #37C34F #3765C3
split-complementary
#C337AB #65C337 #37C395
monochromatic
#641C57 #932A81 #C337AB #D364C0 #E194D4

Accessibility & contrast

On white

4.71
#C337AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C337AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C337AB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337AB#FFFFFF#000000##FFFFFF
##C337AB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#CD416D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c337ab;
/* rgb */ color: rgb(195, 55, 171);
/* oklch */ color: oklch(58.5% 0.213 335.8);
Tailwind
colors: {
  custom: {
    50: '#d97bc4',
    500: '#c337ab',
    950: '#000000',
  },
}
SCSS
$custom: #c337ab;
$custom-light: #d97bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c337ab",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 310.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.21348,
    "h": 335.8
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#C337AB
secondary
#8ACC95
accent
#DF6249
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C337AB

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

Preview Lab → · Contrast checker → · Palette generator →

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