#C23EA2#C23EA2

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

Color values

HEX#C23EA2
RGBrgb(194, 62, 162)
HSLhsl(315, 52%, 50%)
HSVhsv(315, 68%, 76%)
CMYKcmyk(0%, 68%, 16.5%, 23.9%)
CIE-LABlab(48.92, 62.48, -26.31)
CIE-LCHlch(48.92, 67.79, 337.16°)
OKLaboklab(58.57% 0.1852 -0.0711)
OKLCHoklch(58.57% 0.198 339)
XYZxyz(30.4930, 17.5260, 35.9523)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23EA2 #3EC25E
analogous
#A03EC2 #C23EA2 #C23E60
triadic
#C23EA2 #A2C23E #3EA2C2
tetradic
#C23EA2 #C2A03E #3EC25E #3E60C2
square
#C23EA2 #C2A03E #3EC25E #3E60C2
split-complementary
#C23EA2 #60C23E #3EC2A0
monochromatic
#662055 #942F7B #C23EA2 #D16DB8 #DF9BCF

Accessibility & contrast

On white

4.66
#C23EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C23EA2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23EA2#FFFFFF#000000##FFFFFF
##C23EA21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#6E7C9F
Tritanopia (blue-blind)
#CD436B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23ea2;
/* rgb */ color: rgb(194, 62, 162);
/* oklch */ color: oklch(58.6% 0.198 339.0);
Tailwind
colors: {
  custom: {
    50: '#d87ebd',
    500: '#c23ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c23ea2;
$custom-light: #d87ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ea2",
  "rgb": {
    "r": 194,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 314.545,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.19834,
    "h": 339
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C23EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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