#C23EA7#C23EA7

#C23EA7 is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 58.8% C 0.202 H 337.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C23EA7
RGBrgb(194, 62, 167)
HSLhsl(312, 52%, 50%)
HSVhsv(312, 68%, 76%)
CMYKcmyk(0%, 68%, 13.9%, 23.9%)
CIE-LABlab(49.14, 63.20, -28.92)
CIE-LCHlch(49.14, 69.51, 335.41°)
OKLaboklab(58.81% 0.1859 -0.0785)
OKLCHoklch(58.81% 0.202 337.1)
XYZxyz(30.9463, 17.7073, 38.3397)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23EA7 #3EC259
analogous
#9B3EC2 #C23EA7 #C23E65
triadic
#C23EA7 #A7C23E #3EA7C2
tetradic
#C23EA7 #C29B3E #3EC259 #3E65C2
square
#C23EA7 #C29B3E #3EC259 #3E65C2
split-complementary
#C23EA7 #65C23E #3EC29B
monochromatic
#662057 #942F7F #C23EA7 #D16DBC #DF9BD1

Accessibility & contrast

On white

4.62
#C23EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C23EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23EA7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23EA7#FFFFFF#000000##FFFFFF
##C23EA71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c23ea7;
/* rgb */ color: rgb(194, 62, 167);
/* oklch */ color: oklch(58.8% 0.202 337.1);
Tailwind
colors: {
  custom: {
    50: '#d87ec1',
    500: '#c23ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c23ea7;
$custom-light: #d87ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ea7",
  "rgb": {
    "r": 194,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 312.273,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58809,
    "c": 0.20178,
    "h": 337.1
  },
  "luminance": 0.17705
}

Semantic roles & 50–950 ramp

primary
#C23EA7
secondary
#90CB9C
accent
#DB6A4C
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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