#C23D9E#C23D9E

#C23D9E is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.197 H 340.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C23D9E
RGBrgb(194, 61, 158)
HSLhsl(316, 52%, 50%)
HSVhsv(316, 69%, 76%)
CMYKcmyk(0%, 68.6%, 18.6%, 23.9%)
CIE-LABlab(48.61, 62.28, -24.41)
CIE-LCHlch(48.61, 66.90, 338.60°)
OKLaboklab(58.29% 0.1856 -0.0657)
OKLCHoklch(58.29% 0.197 340.5)
XYZxyz(30.0892, 17.2783, 34.0915)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23D9E #3DC261
analogous
#A43DC2 #C23D9E #C23D5B
triadic
#C23D9E #9EC23D #3D9EC2
tetradic
#C23D9E #C2A43D #3DC261 #3D5BC2
square
#C23D9E #C2A43D #3DC261 #3D5BC2
split-complementary
#C23D9E #5BC23D #3DC2A4
monochromatic
#652052 #932E78 #C23D9E #D16CB5 #DF9ACD

Accessibility & contrast

On white

4.71
#C23D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C23D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23D9E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23D9E#FFFFFF#000000##FFFFFF
##C23D9E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4666A1
Deuteranopia (green-blind)
#6F7B9B
Tritanopia (blue-blind)
#CD4068
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c23d9e;
/* rgb */ color: rgb(194, 61, 158);
/* oklch */ color: oklch(58.3% 0.197 340.5);
Tailwind
colors: {
  custom: {
    50: '#d87dbb',
    500: '#c23d9e',
    950: '#000000',
  },
}
SCSS
$custom: #c23d9e;
$custom-light: #d87dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#c23d9e",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 316.241,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.19693,
    "h": 340.5
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#C23D9E
secondary
#90CBA0
accent
#DC734C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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