#C23796#C23796

#C23796 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.4% C 0.199 H 343.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C23796
RGBrgb(194, 55, 150)
HSLhsl(319, 56%, 49%)
HSVhsv(319, 72%, 76%)
CMYKcmyk(0%, 71.6%, 22.7%, 23.9%)
CIE-LABlab(47.50, 63.35, -21.35)
CIE-LCHlch(47.50, 66.85, 341.38°)
OKLaboklab(57.38% 0.1908 -0.0571)
OKLCHoklch(57.38% 0.199 343.3)
XYZxyz(29.1204, 16.4067, 30.4815)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23796 #37C263
analogous
#A937C2 #C23796 #C23751
triadic
#C23796 #96C237 #3796C2
tetradic
#C23796 #C2A937 #37C263 #3751C2
square
#C23796 #C2A937 #37C263 #3751C2
split-complementary
#C23796 #51C237 #37C2A9
monochromatic
#631C4C #922971 #C23796 #D363B0 #E093C8

Accessibility & contrast

On white

4.91
#C23796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C23796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23796
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23796#FFFFFF#000000##FFFFFF
##C237961.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#707993
Tritanopia (blue-blind)
#CE3762
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c23796;
/* rgb */ color: rgb(194, 55, 150);
/* oklch */ color: oklch(57.4% 0.199 343.3);
Tailwind
colors: {
  custom: {
    50: '#d87ab5',
    500: '#c23796',
    950: '#000000',
  },
}
SCSS
$custom: #c23796;
$custom-light: #d87ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23796",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 318.993,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57378,
    "c": 0.19911,
    "h": 343.3
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#C23796
secondary
#89CB9E
accent
#DF7849
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23796

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

Preview Lab → · Contrast checker → · Palette generator →

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