#C237A7#C237A7

#C237A7 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.210 H 336.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C237A7
RGBrgb(194, 55, 167)
HSLhsl(312, 56%, 49%)
HSVhsv(312, 72%, 76%)
CMYKcmyk(0%, 71.6%, 13.9%, 23.9%)
CIE-LABlab(48.25, 65.70, -30.30)
CIE-LCHlch(48.25, 72.35, 335.24°)
OKLaboklab(58.17% 0.1933 -0.0824)
OKLCHoklch(58.17% 0.21 336.9)
XYZxyz(30.5899, 16.9945, 38.2209)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237A7 #37C252
analogous
#9837C2 #C237A7 #C23762
triadic
#C237A7 #A7C237 #37A7C2
tetradic
#C237A7 #C29837 #37C252 #3762C2
square
#C237A7 #C29837 #37C252 #3762C2
split-complementary
#C237A7 #62C237 #37C298
monochromatic
#631C55 #92297E #C237A7 #D363BD #E093D1

Accessibility & contrast

On white

4.77
#C237A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C237A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C237A7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237A7#FFFFFF#000000##FFFFFF
##C237A71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65AA
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#CC3F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c237a7;
/* rgb */ color: rgb(194, 55, 167);
/* oklch */ color: oklch(58.2% 0.210 336.9);
Tailwind
colors: {
  custom: {
    50: '#d87ac1',
    500: '#c237a7',
    950: '#000000',
  },
}
SCSS
$custom: #c237a7;
$custom-light: #d87ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#c237a7",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 311.655,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.21014,
    "h": 336.9
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#C237A7
secondary
#89CB96
accent
#DF6649
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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