#C12571#C12571

#C12571 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.198 H 357.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C12571
RGBrgb(193, 37, 113)
HSLhsl(331, 68%, 45%)
HSVhsv(331, 81%, 76%)
CMYKcmyk(0%, 80.8%, 41.5%, 24.3%)
CIE-LABlab(44.03, 64.32, -4.08)
CIE-LCHlch(44.03, 64.45, 356.37°)
OKLaboklab(54.36% 0.198 -0.0099)
OKLCHoklch(54.36% 0.198 357.1)
XYZxyz(25.6365, 13.8562, 16.9441)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12571 #25C175
analogous
#C125BF #C12571 #C12725
triadic
#C12571 #71C125 #2571C1
tetradic
#C12571 #BFC125 #25C175 #2725C1
square
#C12571 #BFC125 #25C175 #2725C1
split-complementary
#C12571 #25C127 #25BFC1
monochromatic
#5A1135 #8E1B53 #C12571 #DC4790 #E67BAF

Accessibility & contrast

On white

5.57
#C12571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C12571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12571
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12571#FFFFFF#000000##FFFFFF
##C125711.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#74726E
Tritanopia (blue-blind)
#D10048
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12571;
/* rgb */ color: rgb(193, 37, 113);
/* oklch */ color: oklch(54.4% 0.198 357.1);
Tailwind
colors: {
  custom: {
    50: '#d97199',
    500: '#c12571',
    950: '#000000',
  },
}
SCSS
$custom: #c12571;
$custom-light: #d97199;
$custom-dark: #000000;
JSON
{
  "hex": "#c12571",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 330.769,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.19824,
    "h": 357.1
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#C12571
secondary
#74CEA2
accent
#EB963D
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12571

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

Preview Lab → · Contrast checker → · Palette generator →

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