#C23EA1#C23EA1

#C23EA1 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.198 H 339.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C23EA1
RGBrgb(194, 62, 161)
HSLhsl(315, 52%, 50%)
HSVhsv(315, 68%, 76%)
CMYKcmyk(0%, 68%, 17%, 23.9%)
CIE-LABlab(48.87, 62.33, -25.79)
CIE-LCHlch(48.87, 67.46, 337.53°)
OKLaboklab(58.53% 0.185 -0.0696)
OKLCHoklch(58.53% 0.198 339.4)
XYZxyz(30.4045, 17.4906, 35.4860)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23EA1 #3EC25F
analogous
#A13EC2 #C23EA1 #C23E5F
triadic
#C23EA1 #A1C23E #3EA1C2
tetradic
#C23EA1 #C2A13E #3EC25F #3E5FC2
square
#C23EA1 #C2A13E #3EC25F #3E5FC2
split-complementary
#C23EA1 #5FC23E #3EC2A1
monochromatic
#662054 #942F7B #C23EA1 #D16DB8 #DF9BCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C23EA1#FFFFFF#000000##FFFFFF
##C23EA11.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)
#4567A4
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#CD426A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23ea1;
/* rgb */ color: rgb(194, 62, 161);
/* oklch */ color: oklch(58.5% 0.198 339.4);
Tailwind
colors: {
  custom: {
    50: '#d87dbd',
    500: '#c23ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c23ea1;
$custom-light: #d87dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ea1",
  "rgb": {
    "r": 194,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 315,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.19766,
    "h": 339.4
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#C23EA1
secondary
#90CB9F
accent
#DB704C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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