#C237A2#C237A2

#C237A2 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.207 H 338.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C237A2
RGBrgb(194, 55, 162)
HSLhsl(314, 56%, 49%)
HSVhsv(314, 72%, 76%)
CMYKcmyk(0%, 71.6%, 16.5%, 23.9%)
CIE-LABlab(48.02, 64.98, -27.70)
CIE-LCHlch(48.02, 70.64, 336.92°)
OKLaboklab(57.93% 0.1927 -0.075)
OKLCHoklch(57.93% 0.207 338.7)
XYZxyz(30.1366, 16.8132, 35.8335)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237A2 #37C257
analogous
#9D37C2 #C237A2 #C2375D
triadic
#C237A2 #A2C237 #37A2C2
tetradic
#C237A2 #C29D37 #37C257 #375DC2
square
#C237A2 #C29D37 #37C257 #375DC2
split-complementary
#C237A2 #5DC237 #37C29D
monochromatic
#631C52 #92297A #C237A2 #D363B9 #E093CF

Accessibility & contrast

On white

4.81
#C237A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C237A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C237A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237A2#FFFFFF#000000##FFFFFF
##C237A21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#CD3D68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c237a2;
/* rgb */ color: rgb(194, 55, 162);
/* oklch */ color: oklch(57.9% 0.207 338.7);
Tailwind
colors: {
  custom: {
    50: '#d87abe',
    500: '#c237a2',
    950: '#000000',
  },
}
SCSS
$custom: #c237a2;
$custom-light: #d87abe;
$custom-dark: #000000;
JSON
{
  "hex": "#c237a2",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 313.813,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.20677,
    "h": 338.7
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#C237A2
secondary
#89CB99
accent
#DF6B49
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C237A2

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

Preview Lab → · Contrast checker → · Palette generator →

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