#C23B9D#C23B9D

#C23B9D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 58.1% C 0.199 H 340.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C23B9D
RGBrgb(194, 59, 157)
HSLhsl(316, 53%, 50%)
HSVhsv(316, 70%, 76%)
CMYKcmyk(0%, 69.6%, 19.1%, 23.9%)
CIE-LABlab(48.30, 62.88, -24.29)
CIE-LCHlch(48.30, 67.41, 338.88°)
OKLaboklab(58.06% 0.1877 -0.0654)
OKLCHoklch(58.06% 0.199 340.8)
XYZxyz(29.8987, 17.0345, 33.6051)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23B9D #3BC260
analogous
#A33BC2 #C23B9D #C23B5A
triadic
#C23B9D #9DC23B #3B9DC2
tetradic
#C23B9D #C2A33B #3BC260 #3B5AC2
square
#C23B9D #C2A33B #3BC260 #3B5AC2
split-complementary
#C23B9D #5AC23B #3BC2A3
monochromatic
#641E51 #932D77 #C23B9D #D169B5 #E098CC

Accessibility & contrast

On white

4.77
#C23B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C23B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23B9D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23B9D#FFFFFF#000000##FFFFFF
##C23B9D1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A0
Deuteranopia (green-blind)
#6F7B9A
Tritanopia (blue-blind)
#CD3E67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c23b9d;
/* rgb */ color: rgb(194, 59, 157);
/* oklch */ color: oklch(58.1% 0.199 340.8);
Tailwind
colors: {
  custom: {
    50: '#d87cba',
    500: '#c23b9d',
    950: '#000000',
  },
}
SCSS
$custom: #c23b9d;
$custom-light: #d87cba;
$custom-dark: #000000;
JSON
{
  "hex": "#c23b9d",
  "rgb": {
    "r": 194,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 316.444,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.19874,
    "h": 340.8
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#C23B9D
secondary
#8ECB9E
accent
#DD734B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C23B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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