#C23EA8#C23EA8

#C23EA8 is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 58.9% C 0.202 H 336.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C23EA8
RGBrgb(194, 62, 168)
HSLhsl(312, 52%, 50%)
HSVhsv(312, 68%, 76%)
CMYKcmyk(0%, 68%, 13.4%, 23.9%)
CIE-LABlab(49.18, 63.35, -29.44)
CIE-LCHlch(49.18, 69.86, 335.07°)
OKLaboklab(58.86% 0.186 -0.08)
OKLCHoklch(58.86% 0.202 336.7)
XYZxyz(31.0391, 17.7445, 38.8285)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23EA8 #3EC258
analogous
#9A3EC2 #C23EA8 #C23E66
triadic
#C23EA8 #A8C23E #3EA8C2
tetradic
#C23EA8 #C29A3E #3EC258 #3E66C2
square
#C23EA8 #C29A3E #3EC258 #3E66C2
split-complementary
#C23EA8 #66C23E #3EC29A
monochromatic
#662058 #942F80 #C23EA8 #D16DBD #DF9BD2

Accessibility & contrast

On white

4.62
#C23EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C23EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23EA8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23EA8#FFFFFF#000000##FFFFFF
##C23EA81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#CC456E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23ea8;
/* rgb */ color: rgb(194, 62, 168);
/* oklch */ color: oklch(58.9% 0.202 336.7);
Tailwind
colors: {
  custom: {
    50: '#d87ec2',
    500: '#c23ea8',
    950: '#000000',
  },
}
SCSS
$custom: #c23ea8;
$custom-light: #d87ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ea8",
  "rgb": {
    "r": 194,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 311.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.20248,
    "h": 336.7
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#C23EA8
secondary
#90CB9C
accent
#DB694C
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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