#C23FA1#C23FA1

#C23FA1 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.196 H 339.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C23FA1
RGBrgb(194, 63, 161)
HSLhsl(315, 52%, 50%)
HSVhsv(315, 68%, 76%)
CMYKcmyk(0%, 67.5%, 17%, 23.9%)
CIE-LABlab(49.01, 61.96, -25.58)
CIE-LCHlch(49.01, 67.03, 337.57°)
OKLaboklab(58.63% 0.1839 -0.069)
OKLCHoklch(58.63% 0.196 339.4)
XYZxyz(30.4594, 17.6004, 35.5043)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FA1 #3FC260
analogous
#A23FC2 #C23FA1 #C23F5F
triadic
#C23FA1 #A1C23F #3FA1C2
tetradic
#C23FA1 #C2A23F #3FC260 #3F5FC2
square
#C23FA1 #C2A23F #3FC260 #3F5FC2
split-complementary
#C23FA1 #5FC23F #3FC2A2
monochromatic
#662055 #952F7B #C23FA1 #D16DB8 #E09CCE

Accessibility & contrast

On white

4.65
#C23FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C23FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23FA1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FA1#FFFFFF#000000##FFFFFF
##C23FA11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A4
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#CD436A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23fa1;
/* rgb */ color: rgb(194, 63, 161);
/* oklch */ color: oklch(58.6% 0.196 339.4);
Tailwind
colors: {
  custom: {
    50: '#d87ebd',
    500: '#c23fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c23fa1;
$custom-light: #d87ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fa1",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 315.115,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.19639,
    "h": 339.4
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#C23FA1
secondary
#91CCA0
accent
#DB714D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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