#C23CAC#C23CAC

#C23CAC is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.208 H 335.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C23CAC
RGBrgb(194, 60, 172)
HSLhsl(310, 53%, 50%)
HSVhsv(310, 69%, 76%)
CMYKcmyk(0%, 69.1%, 11.3%, 23.9%)
CIE-LABlab(49.11, 64.68, -31.92)
CIE-LCHlch(49.11, 72.13, 333.74°)
OKLaboklab(58.86% 0.1887 -0.0871)
OKLCHoklch(58.86% 0.208 335.2)
XYZxyz(31.3107, 17.6823, 40.7857)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CAC #3CC252
analogous
#953CC2 #C23CAC #C23C69
triadic
#C23CAC #ACC23C #3CACC2
tetradic
#C23CAC #C2953C #3CC252 #3C69C2
square
#C23CAC #C2953C #3CC252 #3C69C2
split-complementary
#C23CAC #69C23C #3CC295
monochromatic
#651F59 #932E83 #C23CAC #D16AC0 #DF99D4

Accessibility & contrast

On white

4.63
#C23CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C23CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23CAC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CAC#FFFFFF#000000##FFFFFF
##C23CAC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#6A7CA9
Tritanopia (blue-blind)
#CB466F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23cac;
/* rgb */ color: rgb(194, 60, 172);
/* oklch */ color: oklch(58.9% 0.208 335.2);
Tailwind
colors: {
  custom: {
    50: '#d87dc5',
    500: '#c23cac',
    950: '#000000',
  },
}
SCSS
$custom: #c23cac;
$custom-light: #d87dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cac",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 309.851,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.20778,
    "h": 335.2
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#C23CAC
secondary
#8FCB99
accent
#DC634C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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