#C23C9E#C23C9E

#C23C9E is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.2% C 0.198 H 340.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C23C9E
RGBrgb(194, 60, 158)
HSLhsl(316, 53%, 50%)
HSVhsv(316, 69%, 76%)
CMYKcmyk(0%, 69.1%, 18.6%, 23.9%)
CIE-LABlab(48.48, 62.65, -24.62)
CIE-LCHlch(48.48, 67.32, 338.55°)
OKLaboklab(58.2% 0.1867 -0.0663)
OKLCHoklch(58.2% 0.198 340.5)
XYZxyz(30.0363, 17.1725, 34.0739)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23C9E #3CC260
analogous
#A33CC2 #C23C9E #C23C5B
triadic
#C23C9E #9EC23C #3C9EC2
tetradic
#C23C9E #C2A33C #3CC260 #3C5BC2
square
#C23C9E #C2A33C #3CC260 #3C5BC2
split-complementary
#C23C9E #5BC23C #3CC2A3
monochromatic
#651F52 #932E78 #C23C9E #D16AB5 #DF99CD

Accessibility & contrast

On white

4.74
#C23C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C23C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23C9E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23C9E#FFFFFF#000000##FFFFFF
##C23C9E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A1
Deuteranopia (green-blind)
#6F7B9B
Tritanopia (blue-blind)
#CD3F68
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c23c9e;
/* rgb */ color: rgb(194, 60, 158);
/* oklch */ color: oklch(58.2% 0.198 340.5);
Tailwind
colors: {
  custom: {
    50: '#d87cbb',
    500: '#c23c9e',
    950: '#000000',
  },
}
SCSS
$custom: #c23c9e;
$custom-light: #d87cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#c23c9e",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 316.119,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.19816,
    "h": 340.5
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#C23C9E
secondary
#8FCB9F
accent
#DC724C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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