#C23AA2#C23AA2

#C23AA2 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.203 H 338.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C23AA2
RGBrgb(194, 58, 162)
HSLhsl(314, 54%, 49%)
HSVhsv(314, 70%, 76%)
CMYKcmyk(0%, 70.1%, 16.5%, 23.9%)
CIE-LABlab(48.39, 63.94, -27.12)
CIE-LCHlch(48.39, 69.45, 337.01°)
OKLaboklab(58.19% 0.1895 -0.0734)
OKLCHoklch(58.19% 0.203 338.8)
XYZxyz(30.2835, 17.1069, 35.8825)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AA2 #3AC25A
analogous
#9E3AC2 #C23AA2 #C23A5E
triadic
#C23AA2 #A2C23A #3AA2C2
tetradic
#C23AA2 #C29E3A #3AC25A #3A5EC2
square
#C23AA2 #C29E3A #3AC25A #3A5EC2
split-complementary
#C23AA2 #5EC23A #3AC29E
monochromatic
#641E53 #932C7B #C23AA2 #D267B9 #E097CF

Accessibility & contrast

On white

4.75
#C23AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C23AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23AA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23AA2#FFFFFF#000000##FFFFFF
##C23AA21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#CD3F69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c23aa2;
/* rgb */ color: rgb(194, 58, 162);
/* oklch */ color: oklch(58.2% 0.203 338.8);
Tailwind
colors: {
  custom: {
    50: '#d87cbe',
    500: '#c23aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c23aa2;
$custom-light: #d87cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c23aa2",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 314.118,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.20325,
    "h": 338.8
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#C23AA2
secondary
#8DCB9B
accent
#DD6D4A
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C23AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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