#C23CA7#C23CA7

#C23CA7 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.6% C 0.204 H 337.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C23CA7
RGBrgb(194, 60, 167)
HSLhsl(312, 53%, 50%)
HSVhsv(312, 69%, 76%)
CMYKcmyk(0%, 69.1%, 13.9%, 23.9%)
CIE-LABlab(48.88, 63.94, -29.33)
CIE-LCHlch(48.88, 70.35, 335.36°)
OKLaboklab(58.62% 0.1881 -0.0797)
OKLCHoklch(58.62% 0.204 337)
XYZxyz(30.8396, 17.4938, 38.3042)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CA7 #3CC257
analogous
#9A3CC2 #C23CA7 #C23C64
triadic
#C23CA7 #A7C23C #3CA7C2
tetradic
#C23CA7 #C29A3C #3CC257 #3C64C2
square
#C23CA7 #C29A3C #3CC257 #3C64C2
split-complementary
#C23CA7 #64C23C #3CC29A
monochromatic
#651F57 #932E7F #C23CA7 #D16ABC #DF99D1

Accessibility & contrast

On white

4.67
#C23CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C23CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23CA7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CA7#FFFFFF#000000##FFFFFF
##C23CA71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067AA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#CC436C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23ca7;
/* rgb */ color: rgb(194, 60, 167);
/* oklch */ color: oklch(58.6% 0.204 337.0);
Tailwind
colors: {
  custom: {
    50: '#d87dc1',
    500: '#c23ca7',
    950: '#000000',
  },
}
SCSS
$custom: #c23ca7;
$custom-light: #d87dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ca7",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 312.09,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.20425,
    "h": 337
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#C23CA7
secondary
#8FCB9B
accent
#DC694C
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C23CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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