#C13172#C13172

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

Color values

HEX#C13172
RGBrgb(193, 49, 114)
HSLhsl(333, 60%, 47%)
HSVhsv(333, 75%, 76%)
CMYKcmyk(0%, 74.6%, 40.9%, 24.3%)
CIE-LABlab(45.29, 60.92, -2.83)
CIE-LCHlch(45.29, 60.99, 357.34°)
OKLaboklab(55.3% 0.1871 -0.0067)
OKLCHoklch(55.3% 0.187 358)
XYZxyz(26.1298, 14.7523, 17.3878)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13172 #31C180
analogous
#C131BA #C13172 #C13831
triadic
#C13172 #72C131 #3172C1
tetradic
#C13172 #BAC131 #31C180 #3831C1
square
#C13172 #BAC131 #31C180 #3831C1
split-complementary
#C13172 #31C138 #31BAC1
monochromatic
#5F1838 #902555 #C13172 #D55A92 #E28BB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C13172#FFFFFF#000000##FFFFFF
##C131721.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)
#4F5A74
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#D11C4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c13172;
/* rgb */ color: rgb(193, 49, 114);
/* oklch */ color: oklch(55.3% 0.187 358.0);
Tailwind
colors: {
  custom: {
    50: '#d9769a',
    500: '#c13172',
    950: '#000000',
  },
}
SCSS
$custom: #c13172;
$custom-light: #d9769a;
$custom-dark: #000000;
JSON
{
  "hex": "#c13172",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 332.917,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.18721,
    "h": 358
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#C13172
secondary
#82CCAA
accent
#E39C45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C13172

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

Preview Lab → · Contrast checker → · Palette generator →

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