#C12B62#C12B62

#C12B62 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.188 H 4.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C12B62
RGBrgb(193, 43, 98)
HSLhsl(338, 64%, 46%)
HSVhsv(338, 78%, 76%)
CMYKcmyk(0%, 77.7%, 49.2%, 24.3%)
CIE-LABlab(44.16, 61.31, 5.43)
CIE-LCHlch(44.16, 61.55, 5.06°)
OKLaboklab(54.31% 0.1877 0.0145)
OKLCHoklch(54.31% 0.188 4.4)
XYZxyz(25.0630, 13.9505, 12.9259)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B62 #2BC18A
analogous
#C12BAD #C12B62 #C13F2B
triadic
#C12B62 #62C12B #2B62C1
tetradic
#C12B62 #ADC12B #2BC18A #3F2BC1
square
#C12B62 #ADC12B #2BC18A #3F2BC1
split-complementary
#C12B62 #2BC13F #2BADC1
monochromatic
#5D152F #8F2049 #C12B62 #D85183 #E383A6

Accessibility & contrast

On white

5.54
#C12B62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#C12B62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B62
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B62#FFFFFF#000000##FFFFFF
##C12B621.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12b62;
/* rgb */ color: rgb(193, 43, 98);
/* oklch */ color: oklch(54.3% 0.188 4.4);
Tailwind
colors: {
  custom: {
    50: '#da738e',
    500: '#c12b62',
    950: '#000000',
  },
}
SCSS
$custom: #c12b62;
$custom-light: #da738e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b62",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 338,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.18824,
    "h": 4.4
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#C12B62
secondary
#7BCCAF
accent
#E7AA41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12B62

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

Preview Lab → · Contrast checker → · Palette generator →

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