#C23171#C23171

#C23171 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.188 H 358.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C23171
RGBrgb(194, 49, 113)
HSLhsl(334, 60%, 48%)
HSVhsv(334, 75%, 76%)
CMYKcmyk(0%, 74.7%, 41.8%, 23.9%)
CIE-LABlab(45.44, 61.09, -1.97)
CIE-LCHlch(45.44, 61.13, 358.15°)
OKLaboklab(55.43% 0.1876 -0.0044)
OKLCHoklch(55.43% 0.188 358.7)
XYZxyz(26.3290, 14.8616, 17.1017)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23171 #31C282
analogous
#C231BA #C23171 #C23931
triadic
#C23171 #71C231 #3171C2
tetradic
#C23171 #BAC231 #31C282 #3931C2
square
#C23171 #BAC231 #31C282 #3931C2
split-complementary
#C23171 #31C239 #31BAC2
monochromatic
#601838 #912555 #C23171 #D65B91 #E28CB2

Accessibility & contrast

On white

5.29
#C23171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C23171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23171
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23171#FFFFFF#000000##FFFFFF
##C231711.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#D21B4D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c23171;
/* rgb */ color: rgb(194, 49, 113);
/* oklch */ color: oklch(55.4% 0.188 358.7);
Tailwind
colors: {
  custom: {
    50: '#da7699',
    500: '#c23171',
    950: '#000000',
  },
}
SCSS
$custom: #c23171;
$custom-light: #da7699;
$custom-dark: #000000;
JSON
{
  "hex": "#c23171",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 333.517,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.18767,
    "h": 358.7
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#C23171
secondary
#83CCAC
accent
#E39D45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C23171

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

Preview Lab → · Contrast checker → · Palette generator →

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