#C23CAB#C23CAB

#C23CAB is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.8% C 0.207 H 335.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C23CAB
RGBrgb(194, 60, 171)
HSLhsl(310, 53%, 50%)
HSVhsv(310, 69%, 76%)
CMYKcmyk(0%, 69.1%, 11.9%, 23.9%)
CIE-LABlab(49.06, 64.53, -31.40)
CIE-LCHlch(49.06, 71.76, 334.05°)
OKLaboklab(58.81% 0.1886 -0.0856)
OKLCHoklch(58.81% 0.207 335.6)
XYZxyz(31.2151, 17.6440, 40.2818)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CAB #3CC253
analogous
#963CC2 #C23CAB #C23C68
triadic
#C23CAB #ABC23C #3CABC2
tetradic
#C23CAB #C2963C #3CC253 #3C68C2
square
#C23CAB #C2963C #3CC253 #3C68C2
split-complementary
#C23CAB #68C23C #3CC296
monochromatic
#651F59 #932E82 #C23CAB #D16ABF #DF99D3

Accessibility & contrast

On white

4.64
#C23CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C23CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23CAB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CAB#FFFFFF#000000##FFFFFF
##C23CAB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#CC456F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23cab;
/* rgb */ color: rgb(194, 60, 171);
/* oklch */ color: oklch(58.8% 0.207 335.6);
Tailwind
colors: {
  custom: {
    50: '#d87dc4',
    500: '#c23cab',
    950: '#000000',
  },
}
SCSS
$custom: #c23cab;
$custom-light: #d87dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cab",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 310.299,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.20707,
    "h": 335.6
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#C23CAB
secondary
#8FCB99
accent
#DC644C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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