#C23FA8#C23FA8

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

Color values

HEX#C23FA8
RGBrgb(194, 63, 168)
HSLhsl(312, 52%, 50%)
HSVhsv(312, 68%, 76%)
CMYKcmyk(0%, 67.5%, 13.4%, 23.9%)
CIE-LABlab(49.32, 62.97, -29.23)
CIE-LCHlch(49.32, 69.43, 335.10°)
OKLaboklab(58.95% 0.1849 -0.0794)
OKLCHoklch(58.95% 0.201 336.8)
XYZxyz(31.0940, 17.8542, 38.8468)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FA8 #3FC259
analogous
#9A3FC2 #C23FA8 #C23F67
triadic
#C23FA8 #A8C23F #3FA8C2
tetradic
#C23FA8 #C29A3F #3FC259 #3F67C2
square
#C23FA8 #C29A3F #3FC259 #3F67C2
split-complementary
#C23FA8 #67C23F #3FC29A
monochromatic
#662058 #952F80 #C23FA8 #D16DBD #E09CD2

Accessibility & contrast

On white

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

On black

4.57
#C23FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C23FA8#FFFFFF#000000##FFFFFF
##C23FA81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AB
Deuteranopia (green-blind)
#6D7CA5
Tritanopia (blue-blind)
#CC466E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23fa8;
/* rgb */ color: rgb(194, 63, 168);
/* oklch */ color: oklch(59.0% 0.201 336.8);
Tailwind
colors: {
  custom: {
    50: '#d87ec2',
    500: '#c23fa8',
    950: '#000000',
  },
}
SCSS
$custom: #c23fa8;
$custom-light: #d87ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fa8",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 311.908,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.20123,
    "h": 336.8
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#C23FA8
secondary
#91CC9D
accent
#DB694D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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