#C23FA7#C23FA7

#C23FA7 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 58.9% C 0.201 H 337.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C23FA7
RGBrgb(194, 63, 167)
HSLhsl(312, 52%, 50%)
HSVhsv(312, 68%, 76%)
CMYKcmyk(0%, 67.5%, 13.9%, 23.9%)
CIE-LABlab(49.27, 62.83, -28.71)
CIE-LCHlch(49.27, 69.08, 335.44°)
OKLaboklab(58.91% 0.1848 -0.0779)
OKLCHoklch(58.91% 0.201 337.1)
XYZxyz(31.0012, 17.8171, 38.3580)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FA7 #3FC25A
analogous
#9B3FC2 #C23FA7 #C23F66
triadic
#C23FA7 #A7C23F #3FA7C2
tetradic
#C23FA7 #C29B3F #3FC25A #3F66C2
square
#C23FA7 #C29B3F #3FC25A #3F66C2
split-complementary
#C23FA7 #66C23F #3FC29B
monochromatic
#662058 #952F80 #C23FA7 #D16DBC #E09CD2

Accessibility & contrast

On white

4.60
#C23FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C23FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23FA7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FA7#FFFFFF#000000##FFFFFF
##C23FA71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#6D7CA4
Tritanopia (blue-blind)
#CC466D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23fa7;
/* rgb */ color: rgb(194, 63, 167);
/* oklch */ color: oklch(58.9% 0.201 337.1);
Tailwind
colors: {
  custom: {
    50: '#d87ec1',
    500: '#c23fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c23fa7;
$custom-light: #d87ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fa7",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 312.366,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.20052,
    "h": 337.1
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C23FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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