#C23197#C23197

#C23197 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.9% C 0.206 H 342.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C23197
RGBrgb(194, 49, 151)
HSLhsl(318, 60%, 48%)
HSVhsv(318, 75%, 76%)
CMYKcmyk(0%, 74.7%, 22.2%, 23.9%)
CIE-LABlab(46.85, 65.46, -22.96)
CIE-LCHlch(46.85, 69.36, 340.67°)
OKLaboklab(56.92% 0.197 -0.0615)
OKLCHoklch(56.92% 0.206 342.7)
XYZxyz(28.9334, 15.9033, 30.8181)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23197 #31C25C
analogous
#A431C2 #C23197 #C2314E
triadic
#C23197 #97C231 #3197C2
tetradic
#C23197 #C2A431 #31C25C #314EC2
square
#C23197 #C2A431 #31C25C #314EC2
split-complementary
#C23197 #4EC231 #31C2A4
monochromatic
#60184B #912571 #C23197 #D65BB1 #E28CC8

Accessibility & contrast

On white

5.02
#C23197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C23197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23197
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23197#FFFFFF#000000##FFFFFF
##C231971.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#6D7894
Tritanopia (blue-blind)
#CE3260
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c23197;
/* rgb */ color: rgb(194, 49, 151);
/* oklch */ color: oklch(56.9% 0.206 342.7);
Tailwind
colors: {
  custom: {
    50: '#d977b5',
    500: '#c23197',
    950: '#000000',
  },
}
SCSS
$custom: #c23197;
$custom-light: #d977b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23197",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 317.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.20639,
    "h": 342.7
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#C23197
secondary
#83CC99
accent
#E37445
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23197

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

Preview Lab → · Contrast checker → · Palette generator →

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