#C23FA6#C23FA6

#C23FA6 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.9% C 0.200 H 337.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C23FA6
RGBrgb(194, 63, 166)
HSLhsl(313, 52%, 50%)
HSVhsv(313, 68%, 76%)
CMYKcmyk(0%, 67.5%, 14.4%, 23.9%)
CIE-LABlab(49.23, 62.68, -28.19)
CIE-LCHlch(49.23, 68.73, 335.78°)
OKLaboklab(58.86% 0.1846 -0.0765)
OKLCHoklch(58.86% 0.2 337.5)
XYZxyz(30.9091, 17.7803, 37.8731)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FA6 #3FC25B
analogous
#9C3FC2 #C23FA6 #C23F65
triadic
#C23FA6 #A6C23F #3FA6C2
tetradic
#C23FA6 #C29C3F #3FC25B #3F65C2
square
#C23FA6 #C29C3F #3FC25B #3F65C2
split-complementary
#C23FA6 #65C23F #3FC29C
monochromatic
#662057 #952F7F #C23FA6 #D16DBC #E09CD1

Accessibility & contrast

On white

4.61
#C23FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C23FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23FA6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FA6#FFFFFF#000000##FFFFFF
##C23FA61.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#CC456D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23fa6;
/* rgb */ color: rgb(194, 63, 166);
/* oklch */ color: oklch(58.9% 0.200 337.5);
Tailwind
colors: {
  custom: {
    50: '#d87ec0',
    500: '#c23fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c23fa6;
$custom-light: #d87ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fa6",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 312.824,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.19982,
    "h": 337.5
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#C23FA6
secondary
#91CC9E
accent
#DB6B4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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