#C23FAB#C23FAB

#C23FAB is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.1% C 0.203 H 335.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C23FAB
RGBrgb(194, 63, 171)
HSLhsl(311, 52%, 50%)
HSVhsv(311, 68%, 76%)
CMYKcmyk(0%, 67.5%, 11.9%, 23.9%)
CIE-LABlab(49.46, 63.42, -30.78)
CIE-LCHlch(49.46, 70.50, 334.11°)
OKLaboklab(59.1% 0.1853 -0.0838)
OKLCHoklch(59.1% 0.203 335.6)
XYZxyz(31.3767, 17.9673, 40.3357)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FAB #3FC256
analogous
#973FC2 #C23FAB #C23F6A
triadic
#C23FAB #ABC23F #3FABC2
tetradic
#C23FAB #C2973F #3FC256 #3F6AC2
square
#C23FAB #C2973F #3FC256 #3F6AC2
split-complementary
#C23FAB #6AC23F #3FC297
monochromatic
#66205A #952F83 #C23FAB #D16DBF #E09CD4

Accessibility & contrast

On white

4.57
#C23FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C23FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23FAB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FAB#FFFFFF#000000##000000
##C23FAB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#CC4870
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c23fab;
/* rgb */ color: rgb(194, 63, 171);
/* oklch */ color: oklch(59.1% 0.203 335.6);
Tailwind
colors: {
  custom: {
    50: '#d87ec4',
    500: '#c23fab',
    950: '#000000',
  },
}
SCSS
$custom: #c23fab;
$custom-light: #d87ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fab",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 310.534,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.20336,
    "h": 335.6
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#C23FAB
secondary
#91CC9B
accent
#DB664D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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