#C23AAB#C23AAB

#C23AAB is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.6% C 0.209 H 335.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C23AAB
RGBrgb(194, 58, 171)
HSLhsl(310, 54%, 49%)
HSVhsv(310, 70%, 76%)
CMYKcmyk(0%, 70.1%, 11.9%, 23.9%)
CIE-LABlab(48.81, 65.25, -31.80)
CIE-LCHlch(48.81, 72.58, 334.02°)
OKLaboklab(58.63% 0.1907 -0.0867)
OKLCHoklch(58.63% 0.209 335.5)
XYZxyz(31.1123, 17.4384, 40.2475)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AAB #3AC251
analogous
#953AC2 #C23AAB #C23A67
triadic
#C23AAB #ABC23A #3AABC2
tetradic
#C23AAB #C2953A #3AC251 #3A67C2
square
#C23AAB #C2953A #3AC251 #3A67C2
split-complementary
#C23AAB #67C23A #3AC295
monochromatic
#641E58 #932C81 #C23AAB #D267C0 #E097D3

Accessibility & contrast

On white

4.68
#C23AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C23AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23AAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23AAB#FFFFFF#000000##FFFFFF
##C23AAB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#CC446E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23aab;
/* rgb */ color: rgb(194, 58, 171);
/* oklch */ color: oklch(58.6% 0.209 335.5);
Tailwind
colors: {
  custom: {
    50: '#d87cc4',
    500: '#c23aab',
    950: '#000000',
  },
}
SCSS
$custom: #c23aab;
$custom-light: #d87cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c23aab",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 310.147,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58629,
    "c": 0.20945,
    "h": 335.5
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#C23AAB
secondary
#8DCB97
accent
#DD634A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C23AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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