#C23A8A#C23A8A

#C23A8A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.2% C 0.189 H 348.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C23A8A
RGBrgb(194, 58, 138)
HSLhsl(325, 54%, 49%)
HSVhsv(325, 70%, 76%)
CMYKcmyk(0%, 70.1%, 28.9%, 23.9%)
CIE-LABlab(47.41, 60.76, -14.27)
CIE-LCHlch(47.41, 62.41, 346.78°)
OKLaboklab(57.15% 0.1849 -0.0375)
OKLCHoklch(57.15% 0.189 348.5)
XYZxyz(28.3500, 16.3335, 25.6995)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23A8A #3AC272
analogous
#B63AC2 #C23A8A #C23A46
triadic
#C23A8A #8AC23A #3A8AC2
tetradic
#C23A8A #C2B63A #3AC272 #3A46C2
square
#C23A8A #C2B63A #3AC272 #3A46C2
split-complementary
#C23A8A #46C23A #3AC2B6
monochromatic
#641E47 #932C68 #C23A8A #D267A6 #E097C2

Accessibility & contrast

On white

4.92
#C23A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C23A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23A8A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23A8A#FFFFFF#000000##FFFFFF
##C23A8A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#757987
Tritanopia (blue-blind)
#D0345D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c23a8a;
/* rgb */ color: rgb(194, 58, 138);
/* oklch */ color: oklch(57.2% 0.189 348.5);
Tailwind
colors: {
  custom: {
    50: '#d97bac',
    500: '#c23a8a',
    950: '#000000',
  },
}
SCSS
$custom: #c23a8a;
$custom-light: #d97bac;
$custom-dark: #000000;
JSON
{
  "hex": "#c23a8a",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 324.706,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.18865,
    "h": 348.5
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#C23A8A
secondary
#8DCBA6
accent
#DD874A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C23A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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