#C23BAB#C23BAB

#C23BAB is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.7% C 0.208 H 335.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C23BAB
RGBrgb(194, 59, 171)
HSLhsl(310, 53%, 50%)
HSVhsv(310, 70%, 76%)
CMYKcmyk(0%, 69.6%, 11.9%, 23.9%)
CIE-LABlab(48.93, 64.89, -31.60)
CIE-LCHlch(48.93, 72.18, 334.04°)
OKLaboklab(58.72% 0.1896 -0.0861)
OKLCHoklch(58.72% 0.208 335.6)
XYZxyz(31.1632, 17.5402, 40.2645)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23BAB #3BC252
analogous
#963BC2 #C23BAB #C23B68
triadic
#C23BAB #ABC23B #3BABC2
tetradic
#C23BAB #C2963B #3BC252 #3B68C2
square
#C23BAB #C2963B #3BC252 #3B68C2
split-complementary
#C23BAB #68C23B #3BC296
monochromatic
#641E58 #932D82 #C23BAB #D169C0 #E098D3

Accessibility & contrast

On white

4.66
#C23BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C23BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23BAB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23BAB#FFFFFF#000000##FFFFFF
##C23BAB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#CC446E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23bab;
/* rgb */ color: rgb(194, 59, 171);
/* oklch */ color: oklch(58.7% 0.208 335.6);
Tailwind
colors: {
  custom: {
    50: '#d87cc4',
    500: '#c23bab',
    950: '#000000',
  },
}
SCSS
$custom: #c23bab;
$custom-light: #d87cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c23bab",
  "rgb": {
    "r": 194,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 310.222,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.20826,
    "h": 335.6
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#C23BAB
secondary
#8ECB98
accent
#DD644B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C23BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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