#C337A6#C337A6

#C337A6 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.210 H 337.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C337A6
RGBrgb(195, 55, 166)
HSLhsl(312, 56%, 49%)
HSVhsv(312, 72%, 76%)
CMYKcmyk(0%, 71.8%, 14.9%, 23.5%)
CIE-LABlab(48.37, 65.79, -29.51)
CIE-LCHlch(48.37, 72.11, 335.84°)
OKLaboklab(58.27% 0.1942 -0.0801)
OKLCHoklch(58.27% 0.21 337.6)
XYZxyz(30.7554, 17.0905, 37.7480)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337A6 #37C354
analogous
#9A37C3 #C337A6 #C33760
triadic
#C337A6 #A6C337 #37A6C3
tetradic
#C337A6 #C39A37 #37C354 #3760C3
square
#C337A6 #C39A37 #37C354 #3760C3
split-complementary
#C337A6 #60C337 #37C39A
monochromatic
#641C55 #932A7D #C337A6 #D364BC #E194D1

Accessibility & contrast

On white

4.75
#C337A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C337A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C337A6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C337A6#FFFFFF#000000##FFFFFF
##C337A61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#CE3F6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c337a6;
/* rgb */ color: rgb(195, 55, 166);
/* oklch */ color: oklch(58.3% 0.210 337.6);
Tailwind
colors: {
  custom: {
    50: '#d97bc0',
    500: '#c337a6',
    950: '#000000',
  },
}
SCSS
$custom: #c337a6;
$custom-light: #d97bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c337a6",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 312.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.21005,
    "h": 337.6
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#C337A6
secondary
#8ACC98
accent
#DF6849
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C337A6

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

Preview Lab → · Contrast checker → · Palette generator →

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