#C23FA2#C23FA2

#C23FA2 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.7% C 0.197 H 339.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C23FA2
RGBrgb(194, 63, 162)
HSLhsl(315, 52%, 50%)
HSVhsv(315, 68%, 76%)
CMYKcmyk(0%, 67.5%, 16.5%, 23.9%)
CIE-LABlab(49.05, 62.10, -26.10)
CIE-LCHlch(49.05, 67.36, 337.20°)
OKLaboklab(58.67% 0.184 -0.0705)
OKLCHoklch(58.67% 0.197 339)
XYZxyz(30.5479, 17.6358, 35.9706)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FA2 #3FC25F
analogous
#A03FC2 #C23FA2 #C23F61
triadic
#C23FA2 #A2C23F #3FA2C2
tetradic
#C23FA2 #C2A03F #3FC25F #3F61C2
square
#C23FA2 #C2A03F #3FC25F #3F61C2
split-complementary
#C23FA2 #61C23F #3FC2A0
monochromatic
#662055 #952F7C #C23FA2 #D16DB8 #E09CCF

Accessibility & contrast

On white

4.64
#C23FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C23FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23FA2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FA2#FFFFFF#000000##FFFFFF
##C23FA21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#CD446B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23fa2;
/* rgb */ color: rgb(194, 63, 162);
/* oklch */ color: oklch(58.7% 0.197 339.0);
Tailwind
colors: {
  custom: {
    50: '#d87ebd',
    500: '#c23fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c23fa2;
$custom-light: #d87ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fa2",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 314.656,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.19706,
    "h": 339
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#C23FA2
secondary
#91CC9F
accent
#DB6F4D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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