#C12C6B#C12C6B

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

Color values

HEX#C12C6B
RGBrgb(193, 44, 107)
HSLhsl(335, 63%, 46%)
HSVhsv(335, 77%, 76%)
CMYKcmyk(0%, 77.2%, 44.6%, 24.3%)
CIE-LABlab(44.52, 61.81, 0.37)
CIE-LCHlch(44.52, 61.81, 0.34°)
OKLaboklab(54.66% 0.1898 0.0016)
OKLCHoklch(54.66% 0.19 0.5)
XYZxyz(25.5489, 14.2038, 15.3033)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C6B #2CC182
analogous
#C12CB6 #C12C6B #C1382C
triadic
#C12C6B #6BC12C #2C6BC1
tetradic
#C12C6B #B6C12C #2CC182 #382CC1
square
#C12C6B #B6C12C #2CC182 #382CC1
split-complementary
#C12C6B #2CC138 #2CB6C1
monochromatic
#5D1534 #8F214F #C12C6B #D8538B #E384AC

Accessibility & contrast

On white

5.47
#C12C6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C12C6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C6B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C6B#FFFFFF#000000##FFFFFF
##C12C6B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576C
Deuteranopia (green-blind)
#777468
Tritanopia (blue-blind)
#D20B48
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12c6b;
/* rgb */ color: rgb(193, 44, 107);
/* oklch */ color: oklch(54.7% 0.190 0.5);
Tailwind
colors: {
  custom: {
    50: '#d97495',
    500: '#c12c6b',
    950: '#000000',
  },
}
SCSS
$custom: #c12c6b;
$custom-light: #d97495;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c6b",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 334.631,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.18984,
    "h": 0.5
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#C12C6B
secondary
#7DCCAB
accent
#E6A142
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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