#C23AA8#C23AA8

#C23AA8 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.207 H 336.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C23AA8
RGBrgb(194, 58, 168)
HSLhsl(311, 54%, 49%)
HSVhsv(311, 70%, 76%)
CMYKcmyk(0%, 70.1%, 13.4%, 23.9%)
CIE-LABlab(48.67, 64.80, -30.25)
CIE-LCHlch(48.67, 71.51, 334.98°)
OKLaboklab(58.48% 0.1903 -0.0823)
OKLCHoklch(58.48% 0.207 336.6)
XYZxyz(30.8296, 17.3254, 38.7586)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AA8 #3AC254
analogous
#983AC2 #C23AA8 #C23A64
triadic
#C23AA8 #A8C23A #3AA8C2
tetradic
#C23AA8 #C2983A #3AC254 #3A64C2
square
#C23AA8 #C2983A #3AC254 #3A64C2
split-complementary
#C23AA8 #64C23A #3AC298
monochromatic
#641E56 #932C7F #C23AA8 #D267BD #E097D2

Accessibility & contrast

On white

4.70
#C23AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C23AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23AA8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23AA8#FFFFFF#000000##FFFFFF
##C23AA81.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#CC426C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23aa8;
/* rgb */ color: rgb(194, 58, 168);
/* oklch */ color: oklch(58.5% 0.207 336.6);
Tailwind
colors: {
  custom: {
    50: '#d87cc2',
    500: '#c23aa8',
    950: '#000000',
  },
}
SCSS
$custom: #c23aa8;
$custom-light: #d87cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c23aa8",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 311.471,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.20735,
    "h": 336.6
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#C23AA8
secondary
#8DCB99
accent
#DD674A
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C23AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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