#C12D72#C12D72

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

Color values

HEX#C12D72
RGBrgb(193, 45, 114)
HSLhsl(332, 62%, 47%)
HSVhsv(332, 77%, 76%)
CMYKcmyk(0%, 76.7%, 40.9%, 24.3%)
CIE-LABlab(44.85, 62.18, -3.49)
CIE-LCHlch(44.85, 62.28, 356.79°)
OKLaboklab(54.97% 0.1911 -0.0084)
OKLCHoklch(54.97% 0.191 357.5)
XYZxyz(25.9699, 14.4325, 17.3345)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D72 #2DC17C
analogous
#C12DBC #C12D72 #C1322D
triadic
#C12D72 #72C12D #2D72C1
tetradic
#C12D72 #BCC12D #2DC17C #322DC1
square
#C12D72 #BCC12D #2DC17C #322DC1
split-complementary
#C12D72 #2DC132 #2DBCC1
monochromatic
#5E1637 #8F2155 #C12D72 #D75491 #E386B1

Accessibility & contrast

On white

5.40
#C12D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C12D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D72
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D72#FFFFFF#000000##FFFFFF
##C12D721.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5874
Deuteranopia (green-blind)
#76746F
Tritanopia (blue-blind)
#D1154C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12d72;
/* rgb */ color: rgb(193, 45, 114);
/* oklch */ color: oklch(55.0% 0.191 357.5);
Tailwind
colors: {
  custom: {
    50: '#d9749a',
    500: '#c12d72',
    950: '#000000',
  },
}
SCSS
$custom: #c12d72;
$custom-light: #d9749a;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d72",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 332.027,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.19129,
    "h": 357.5
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12D72

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

Preview Lab → · Contrast checker → · Palette generator →

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