#C23BA1#C23BA1

#C23BA1 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.2% C 0.201 H 339.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C23BA1
RGBrgb(194, 59, 161)
HSLhsl(315, 53%, 50%)
HSVhsv(315, 70%, 76%)
CMYKcmyk(0%, 69.6%, 17%, 23.9%)
CIE-LABlab(48.48, 63.44, -26.40)
CIE-LCHlch(48.48, 68.71, 337.41°)
OKLaboklab(58.24% 0.1883 -0.0713)
OKLCHoklch(58.24% 0.201 339.3)
XYZxyz(30.2458, 17.1733, 35.4332)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23BA1 #3BC25C
analogous
#A03BC2 #C23BA1 #C23B5D
triadic
#C23BA1 #A1C23B #3BA1C2
tetradic
#C23BA1 #C2A03B #3BC25C #3B5DC2
square
#C23BA1 #C2A03B #3BC25C #3B5DC2
split-complementary
#C23BA1 #5DC23B #3BC2A0
monochromatic
#641E53 #932D7A #C23BA1 #D169B8 #E098CE

Accessibility & contrast

On white

4.74
#C23BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C23BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23BA1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23BA1#FFFFFF#000000##FFFFFF
##C23BA11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A4
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#CD4069
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c23ba1;
/* rgb */ color: rgb(194, 59, 161);
/* oklch */ color: oklch(58.2% 0.201 339.3);
Tailwind
colors: {
  custom: {
    50: '#d87cbd',
    500: '#c23ba1',
    950: '#000000',
  },
}
SCSS
$custom: #c23ba1;
$custom-light: #d87cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ba1",
  "rgb": {
    "r": 194,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 314.667,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.20138,
    "h": 339.3
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#C23BA1
secondary
#8ECB9D
accent
#DD6F4B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C23BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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