#C23FA9#C23FA9

#C23FA9 is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.0% C 0.202 H 336.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C23FA9
RGBrgb(194, 63, 169)
HSLhsl(311, 52%, 50%)
HSVhsv(311, 68%, 76%)
CMYKcmyk(0%, 67.5%, 12.9%, 23.9%)
CIE-LABlab(49.36, 63.12, -29.75)
CIE-LCHlch(49.36, 69.78, 334.77°)
OKLaboklab(59% 0.185 -0.0809)
OKLCHoklch(59% 0.202 336.4)
XYZxyz(31.1875, 17.8916, 39.3393)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FA9 #3FC258
analogous
#993FC2 #C23FA9 #C23F68
triadic
#C23FA9 #A9C23F #3FA9C2
tetradic
#C23FA9 #C2993F #3FC258 #3F68C2
square
#C23FA9 #C2993F #3FC258 #3F68C2
split-complementary
#C23FA9 #68C23F #3FC299
monochromatic
#662059 #952F81 #C23FA9 #D16DBE #E09CD3

Accessibility & contrast

On white

4.59
#C23FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C23FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23FA9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FA9#FFFFFF#000000##FFFFFF
##C23FA91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AC
Deuteranopia (green-blind)
#6C7DA6
Tritanopia (blue-blind)
#CC476F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23fa9;
/* rgb */ color: rgb(194, 63, 169);
/* oklch */ color: oklch(59.0% 0.202 336.4);
Tailwind
colors: {
  custom: {
    50: '#d87ec3',
    500: '#c23fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c23fa9;
$custom-light: #d87ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fa9",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 311.45,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.20193,
    "h": 336.4
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#C23FA9
secondary
#91CC9C
accent
#DB684D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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