#C13171#C13171

#C13171 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.187 H 358.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C13171
RGBrgb(193, 49, 113)
HSLhsl(333, 60%, 47%)
HSVhsv(333, 75%, 76%)
CMYKcmyk(0%, 74.6%, 41.5%, 24.3%)
CIE-LABlab(45.26, 60.82, -2.26)
CIE-LCHlch(45.26, 60.86, 357.87°)
OKLaboklab(55.27% 0.1868 -0.0052)
OKLCHoklch(55.27% 0.187 358.4)
XYZxyz(26.0732, 14.7297, 17.0897)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13171 #31C181
analogous
#C131B9 #C13171 #C13931
triadic
#C13171 #71C131 #3171C1
tetradic
#C13171 #B9C131 #31C181 #3931C1
square
#C13171 #B9C131 #31C181 #3931C1
split-complementary
#C13171 #31C139 #31B9C1
monochromatic
#5F1838 #902554 #C13171 #D55A91 #E28BB1

Accessibility & contrast

On white

5.32
#C13171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C13171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C13171
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C13171#FFFFFF#000000##FFFFFF
##C131711.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D11B4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c13171;
/* rgb */ color: rgb(193, 49, 113);
/* oklch */ color: oklch(55.3% 0.187 358.4);
Tailwind
colors: {
  custom: {
    50: '#d97699',
    500: '#c13171',
    950: '#000000',
  },
}
SCSS
$custom: #c13171;
$custom-light: #d97699;
$custom-dark: #000000;
JSON
{
  "hex": "#c13171",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 333.333,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.18685,
    "h": 358.4
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#C13171
secondary
#82CCAB
accent
#E39D45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C13171

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

Preview Lab → · Contrast checker → · Palette generator →

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