#C23A8B#C23A8B

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

Color values

HEX#C23A8B
RGBrgb(194, 58, 139)
HSLhsl(324, 54%, 49%)
HSVhsv(324, 70%, 76%)
CMYKcmyk(0%, 70.1%, 28.4%, 23.9%)
CIE-LABlab(47.45, 60.88, -14.82)
CIE-LCHlch(47.45, 62.66, 346.32°)
OKLaboklab(57.19% 0.1851 -0.039)
OKLCHoklch(57.19% 0.189 348.1)
XYZxyz(28.4227, 16.3626, 26.0826)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23A8B #3AC271
analogous
#B53AC2 #C23A8B #C23A47
triadic
#C23A8B #8BC23A #3A8BC2
tetradic
#C23A8B #C2B53A #3AC271 #3A47C2
square
#C23A8B #C2B53A #3AC271 #3A47C2
split-complementary
#C23A8B #47C23A #3AC2B5
monochromatic
#641E47 #932C69 #C23A8B #D267A7 #E097C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C23A8B#FFFFFF#000000##FFFFFF
##C23A8B1.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)
#4D618D
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#D0355D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c23a8b;
/* rgb */ color: rgb(194, 58, 139);
/* oklch */ color: oklch(57.2% 0.189 348.1);
Tailwind
colors: {
  custom: {
    50: '#d97bad',
    500: '#c23a8b',
    950: '#000000',
  },
}
SCSS
$custom: #c23a8b;
$custom-light: #d97bad;
$custom-dark: #000000;
JSON
{
  "hex": "#c23a8b",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 324.265,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.18919,
    "h": 348.1
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C23A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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