#C12D71#C12D71

#C12D71 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.191 H 357.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C12D71
RGBrgb(193, 45, 113)
HSLhsl(332, 62%, 47%)
HSVhsv(332, 77%, 76%)
CMYKcmyk(0%, 76.7%, 41.5%, 24.3%)
CIE-LABlab(44.81, 62.08, -2.92)
CIE-LCHlch(44.81, 62.15, 357.31°)
OKLaboklab(54.94% 0.1908 -0.0069)
OKLCHoklch(54.94% 0.191 357.9)
XYZxyz(25.9133, 14.4098, 17.0364)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D71 #2DC17D
analogous
#C12DBB #C12D71 #C1332D
triadic
#C12D71 #71C12D #2D71C1
tetradic
#C12D71 #BBC12D #2DC17D #332DC1
square
#C12D71 #BBC12D #2DC17D #332DC1
split-complementary
#C12D71 #2DC133 #2DBBC1
monochromatic
#5E1637 #8F2154 #C12D71 #D75490 #E386B0

Accessibility & contrast

On white

5.41
#C12D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C12D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D71
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D71#FFFFFF#000000##FFFFFF
##C12D711.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#D1144B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12d71;
/* rgb */ color: rgb(193, 45, 113);
/* oklch */ color: oklch(54.9% 0.191 357.9);
Tailwind
colors: {
  custom: {
    50: '#d97499',
    500: '#c12d71',
    950: '#000000',
  },
}
SCSS
$custom: #c12d71;
$custom-light: #d97499;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d71",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 332.432,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.19092,
    "h": 357.9
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#C12D71
secondary
#7ECCA8
accent
#E59A43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12D71

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

Preview Lab → · Contrast checker → · Palette generator →

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