#C12472#C12472

#C12472 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.199 H 356.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C12472
RGBrgb(193, 36, 114)
HSLhsl(330, 69%, 45%)
HSVhsv(330, 81%, 76%)
CMYKcmyk(0%, 81.3%, 40.9%, 24.3%)
CIE-LABlab(43.97, 64.67, -4.79)
CIE-LCHlch(43.97, 64.85, 355.77°)
OKLaboklab(54.33% 0.1991 -0.0118)
OKLCHoklch(54.33% 0.199 356.6)
XYZxyz(25.6624, 13.8175, 17.2320)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12472 #24C173
analogous
#C124C1 #C12472 #C12424
triadic
#C12472 #72C124 #2472C1
tetradic
#C12472 #C1C124 #24C173 #2424C1
square
#C12472 #C1C124 #24C173 #2424C1
split-complementary
#C12472 #24C124 #24C1C1
monochromatic
#5A1135 #8D1A54 #C12472 #DC4691 #E679AF

Accessibility & contrast

On white

5.58
#C12472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C12472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12472
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12472#FFFFFF#000000##FFFFFF
##C124721.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#D10049
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12472;
/* rgb */ color: rgb(193, 36, 114);
/* oklch */ color: oklch(54.3% 0.199 356.6);
Tailwind
colors: {
  custom: {
    50: '#d9719a',
    500: '#c12472',
    950: '#000000',
  },
}
SCSS
$custom: #c12472;
$custom-light: #d9719a;
$custom-dark: #000000;
JSON
{
  "hex": "#c12472",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 330.191,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.19945,
    "h": 356.6
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#C12472
secondary
#73CEA1
accent
#EB943C
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12472

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

Preview Lab → · Contrast checker → · Palette generator →

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