#C12371#C12371

#C12371 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.2% C 0.200 H 357.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C12371
RGBrgb(193, 35, 113)
HSLhsl(330, 69%, 45%)
HSVhsv(330, 82%, 76%)
CMYKcmyk(0%, 81.9%, 41.5%, 24.3%)
CIE-LABlab(43.85, 64.82, -4.34)
CIE-LCHlch(43.85, 64.97, 356.17°)
OKLaboklab(54.23% 0.1996 -0.0106)
OKLCHoklch(54.23% 0.2 357)
XYZxyz(25.5759, 13.7352, 16.9239)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12371 #23C173
analogous
#C123C0 #C12371 #C12423
triadic
#C12371 #71C123 #2371C1
tetradic
#C12371 #C0C123 #23C173 #2423C1
square
#C12371 #C0C123 #23C173 #2423C1
split-complementary
#C12371 #23C124 #23C0C1
monochromatic
#591034 #8D1A53 #C12371 #DD4490 #E678AE

Accessibility & contrast

On white

5.61
#C12371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C12371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12371
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12371#FFFFFF#000000##FFFFFF
##C123711.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#73726D
Tritanopia (blue-blind)
#D10048
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12371;
/* rgb */ color: rgb(193, 35, 113);
/* oklch */ color: oklch(54.2% 0.200 357.0);
Tailwind
colors: {
  custom: {
    50: '#d97199',
    500: '#c12371',
    950: '#000000',
  },
}
SCSS
$custom: #c12371;
$custom-light: #d97199;
$custom-dark: #000000;
JSON
{
  "hex": "#c12371",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 330.38,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.19987,
    "h": 357
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#C12371
secondary
#72CEA0
accent
#EC953C
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12371

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

Preview Lab → · Contrast checker → · Palette generator →

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