#C12C6D#C12C6D

#C12C6D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.190 H 359.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C12C6D
RGBrgb(193, 44, 109)
HSLhsl(334, 63%, 46%)
HSVhsv(334, 77%, 76%)
CMYKcmyk(0%, 77.2%, 43.5%, 24.3%)
CIE-LABlab(44.58, 62.00, -0.78)
CIE-LCHlch(44.58, 62.00, 359.28°)
OKLaboklab(54.73% 0.1905 -0.0013)
OKLCHoklch(54.73% 0.19 359.6)
XYZxyz(25.6553, 14.2463, 15.8639)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C6D #2CC180
analogous
#C12CB8 #C12C6D #C1362C
triadic
#C12C6D #6DC12C #2C6DC1
tetradic
#C12C6D #B8C12C #2CC180 #362CC1
square
#C12C6D #B8C12C #2CC180 #362CC1
split-complementary
#C12C6D #2CC136 #2CB8C1
monochromatic
#5D1535 #8F2151 #C12C6D #D8538D #E384AE

Accessibility & contrast

On white

5.46
#C12C6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C12C6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C6D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C6D#FFFFFF#000000##FFFFFF
##C12C6D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576F
Deuteranopia (green-blind)
#76746A
Tritanopia (blue-blind)
#D10D49
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12c6d;
/* rgb */ color: rgb(193, 44, 109);
/* oklch */ color: oklch(54.7% 0.190 359.6);
Tailwind
colors: {
  custom: {
    50: '#d97496',
    500: '#c12c6d',
    950: '#000000',
  },
}
SCSS
$custom: #c12c6d;
$custom-light: #d97496;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c6d",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 333.826,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.19049,
    "h": 359.6
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#C12C6D
secondary
#7DCCA9
accent
#E69E42
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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