#C12A62#C12A62

#C12A62 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.189 H 4.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C12A62
RGBrgb(193, 42, 98)
HSLhsl(338, 64%, 46%)
HSVhsv(338, 78%, 76%)
CMYKcmyk(0%, 78.2%, 49.2%, 24.3%)
CIE-LABlab(44.06, 61.60, 5.28)
CIE-LCHlch(44.06, 61.83, 4.90°)
OKLaboklab(54.24% 0.1886 0.0141)
OKLCHoklch(54.24% 0.189 4.3)
XYZxyz(25.0271, 13.8787, 12.9139)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A62 #2AC189
analogous
#C12AAD #C12A62 #C13D2A
triadic
#C12A62 #62C12A #2A62C1
tetradic
#C12A62 #ADC12A #2AC189 #3D2AC1
square
#C12A62 #ADC12A #2AC189 #3D2AC1
split-complementary
#C12A62 #2AC13D #2AADC1
monochromatic
#5C142F #8F1F48 #C12A62 #D94F82 #E482A6

Accessibility & contrast

On white

5.56
#C12A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#C12A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A62
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A62#FFFFFF#000000##FFFFFF
##C12A621.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505563
Deuteranopia (green-blind)
#78735E
Tritanopia (blue-blind)
#D20043
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12a62;
/* rgb */ color: rgb(193, 42, 98);
/* oklch */ color: oklch(54.2% 0.189 4.3);
Tailwind
colors: {
  custom: {
    50: '#da738e',
    500: '#c12a62',
    950: '#000000',
  },
}
SCSS
$custom: #c12a62;
$custom-light: #da738e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a62",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 337.748,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.18915,
    "h": 4.3
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#C12A62
secondary
#7ACDAE
accent
#E7A941
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12A62

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

Preview Lab → · Contrast checker → · Palette generator →

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