#C12D6F#C12D6F

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

Color values

HEX#C12D6F
RGBrgb(193, 45, 111)
HSLhsl(333, 62%, 47%)
HSVhsv(333, 77%, 76%)
CMYKcmyk(0%, 76.7%, 42.5%, 24.3%)
CIE-LABlab(44.75, 61.88, -1.77)
CIE-LCHlch(44.75, 61.91, 358.36°)
OKLaboklab(54.87% 0.1902 -0.0039)
OKLCHoklch(54.87% 0.19 358.8)
XYZxyz(25.8019, 14.3653, 16.4499)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D6F #2DC17F
analogous
#C12DB9 #C12D6F #C1352D
triadic
#C12D6F #6FC12D #2D6FC1
tetradic
#C12D6F #B9C12D #2DC17F #352DC1
square
#C12D6F #B9C12D #2DC17F #352DC1
split-complementary
#C12D6F #2DC135 #2DB9C1
monochromatic
#5E1636 #8F2152 #C12D6F #D7548F #E386AF

Accessibility & contrast

On white

5.42
#C12D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C12D6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D6F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D6F#FFFFFF#000000##FFFFFF
##C12D6F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#76746C
Tritanopia (blue-blind)
#D1124A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12d6f;
/* rgb */ color: rgb(193, 45, 111);
/* oklch */ color: oklch(54.9% 0.190 358.8);
Tailwind
colors: {
  custom: {
    50: '#d97498',
    500: '#c12d6f',
    950: '#000000',
  },
}
SCSS
$custom: #c12d6f;
$custom-light: #d97498;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d6f",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 333.243,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.19021,
    "h": 358.8
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#C12D6F
secondary
#7ECCA9
accent
#E59D43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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