#C337A7#C337A7

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

Color values

HEX#C337A7
RGBrgb(195, 55, 167)
HSLhsl(312, 56%, 49%)
HSVhsv(312, 72%, 76%)
CMYKcmyk(0%, 71.8%, 14.4%, 23.5%)
CIE-LABlab(48.42, 65.94, -30.03)
CIE-LCHlch(48.42, 72.45, 335.51°)
OKLaboklab(58.32% 0.1943 -0.0816)
OKLCHoklch(58.32% 0.211 337.2)
XYZxyz(30.8475, 17.1273, 38.2330)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C337A7 #37C353
analogous
#9937C3 #C337A7 #C33761
triadic
#C337A7 #A7C337 #37A7C3
tetradic
#C337A7 #C39937 #37C353 #3761C3
square
#C337A7 #C39937 #37C353 #3761C3
split-complementary
#C337A7 #61C337 #37C399
monochromatic
#641C55 #932A7E #C337A7 #D364BD #E194D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C337A7#FFFFFF#000000##FFFFFF
##C337A71.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)
#3B65AA
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#CD3F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c337a7;
/* rgb */ color: rgb(195, 55, 167);
/* oklch */ color: oklch(58.3% 0.211 337.2);
Tailwind
colors: {
  custom: {
    50: '#d97bc1',
    500: '#c337a7',
    950: '#000000',
  },
}
SCSS
$custom: #c337a7;
$custom-light: #d97bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c337a7",
  "rgb": {
    "r": 195,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 312,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.21073,
    "h": 337.2
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#C337A7
secondary
#8ACC97
accent
#DF6749
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C337A7

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

Preview Lab → · Contrast checker → · Palette generator →

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