#C23A9D#C23A9D

#C23A9D is a mid, vivid pink. Relative luminance 0.169; OKLCH L 58.0% C 0.200 H 340.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C23A9D
RGBrgb(194, 58, 157)
HSLhsl(316, 54%, 49%)
HSVhsv(316, 70%, 76%)
CMYKcmyk(0%, 70.1%, 19.1%, 23.9%)
CIE-LABlab(48.18, 63.24, -24.49)
CIE-LCHlch(48.18, 67.82, 338.83°)
OKLaboklab(57.96% 0.1888 -0.0659)
OKLCHoklch(57.96% 0.2 340.7)
XYZxyz(29.8478, 16.9327, 33.5881)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23A9D #3AC25F
analogous
#A33AC2 #C23A9D #C23A59
triadic
#C23A9D #9DC23A #3A9DC2
tetradic
#C23A9D #C2A33A #3AC25F #3A59C2
square
#C23A9D #C2A33A #3AC25F #3A59C2
split-complementary
#C23A9D #59C23A #3AC2A3
monochromatic
#641E51 #932C77 #C23A9D #D267B5 #E097CC

Accessibility & contrast

On white

4.79
#C23A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C23A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23A9D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23A9D#FFFFFF#000000##FFFFFF
##C23A9D1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4464A0
Deuteranopia (green-blind)
#6F7A9A
Tritanopia (blue-blind)
#CD3D67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c23a9d;
/* rgb */ color: rgb(194, 58, 157);
/* oklch */ color: oklch(58.0% 0.200 340.7);
Tailwind
colors: {
  custom: {
    50: '#d87bba',
    500: '#c23a9d',
    950: '#000000',
  },
}
SCSS
$custom: #c23a9d;
$custom-light: #d87bba;
$custom-dark: #000000;
JSON
{
  "hex": "#c23a9d",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 316.324,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.19996,
    "h": 340.7
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#C23A9D
secondary
#8DCB9E
accent
#DD724A
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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