#C12162#C12162

#C12162 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.197 H 3.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C12162
RGBrgb(193, 33, 98)
HSLhsl(336, 71%, 44%)
HSVhsv(336, 83%, 76%)
CMYKcmyk(0%, 82.9%, 49.2%, 24.3%)
CIE-LABlab(43.23, 63.97, 4.09)
CIE-LCHlch(43.23, 64.10, 3.66°)
OKLaboklab(53.63% 0.1963 0.0111)
OKLCHoklch(53.63% 0.197 3.2)
XYZxyz(24.7430, 13.3105, 12.8192)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12162 #21C180
analogous
#C121B2 #C12162 #C13021
triadic
#C12162 #62C121 #2162C1
tetradic
#C12162 #B2C121 #21C180 #3021C1
square
#C12162 #B2C121 #21C180 #3021C1
split-complementary
#C12162 #21C130 #21B2C1
monochromatic
#580F2D #8D1847 #C12162 #DE4181 #E775A3

Accessibility & contrast

On white

5.74
#C12162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#C12162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12162
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12162#FFFFFF#000000##FFFFFF
##C121621.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5263
Deuteranopia (green-blind)
#76715E
Tritanopia (blue-blind)
#D2003F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12162;
/* rgb */ color: rgb(193, 33, 98);
/* oklch */ color: oklch(53.6% 0.197 3.2);
Tailwind
colors: {
  custom: {
    50: '#da708e',
    500: '#c12162',
    950: '#000000',
  },
}
SCSS
$custom: #c12162;
$custom-light: #da708e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12162",
  "rgb": {
    "r": 193,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 335.625,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.19657,
    "h": 3.2
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#C12162
secondary
#6FCFA8
accent
#EEA53A
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12162

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

Preview Lab → · Contrast checker → · Palette generator →

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