#C23797#C23797

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

Color values

HEX#C23797
RGBrgb(194, 55, 151)
HSLhsl(319, 56%, 49%)
HSVhsv(319, 72%, 76%)
CMYKcmyk(0%, 71.6%, 22.2%, 23.9%)
CIE-LABlab(47.55, 63.48, -21.88)
CIE-LCHlch(47.55, 67.15, 340.98°)
OKLaboklab(57.42% 0.191 -0.0586)
OKLCHoklch(57.42% 0.2 343)
XYZxyz(29.2013, 16.4391, 30.9073)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23797 #37C262
analogous
#A837C2 #C23797 #C23752
triadic
#C23797 #97C237 #3797C2
tetradic
#C23797 #C2A837 #37C262 #3752C2
square
#C23797 #C2A837 #37C262 #3752C2
split-complementary
#C23797 #52C237 #37C2A8
monochromatic
#631C4D #922972 #C23797 #D363B0 #E093C8

Accessibility & contrast

On white

4.90
#C23797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C23797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23797
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23797#FFFFFF#000000##FFFFFF
##C237971.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45629A
Deuteranopia (green-blind)
#707994
Tritanopia (blue-blind)
#CE3862
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c23797;
/* rgb */ color: rgb(194, 55, 151);
/* oklch */ color: oklch(57.4% 0.200 343.0);
Tailwind
colors: {
  custom: {
    50: '#d87ab5',
    500: '#c23797',
    950: '#000000',
  },
}
SCSS
$custom: #c23797;
$custom-light: #d87ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23797",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 318.561,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.19973,
    "h": 343
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C23797

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

Preview Lab → · Contrast checker → · Palette generator →

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