#C12058#C12058

#C12058 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 7.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C12058
RGBrgb(193, 32, 88)
HSLhsl(339, 72%, 44%)
HSVhsv(339, 83%, 76%)
CMYKcmyk(0%, 83.4%, 54.4%, 24.3%)
CIE-LABlab(42.88, 63.42, 9.87)
CIE-LCHlch(42.88, 64.19, 8.85°)
OKLaboklab(53.29% 0.1934 0.0253)
OKLCHoklch(53.29% 0.195 7.4)
XYZxyz(24.2726, 13.0786, 10.4770)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12058 #20C189
analogous
#C120A9 #C12058 #C13820
triadic
#C12058 #58C120 #2058C1
tetradic
#C12058 #A9C120 #20C189 #3820C1
square
#C12058 #A9C120 #20C189 #3820C1
split-complementary
#C12058 #20C138 #20A9C1
monochromatic
#580F28 #8D1740 #C12058 #DF3F77 #E8749C

Accessibility & contrast

On white

5.81
#C12058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#C12058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12058
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12058#FFFFFF#000000##FFFFFF
##C120581.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#777154
Tritanopia (blue-blind)
#D3003A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12058;
/* rgb */ color: rgb(193, 32, 88);
/* oklch */ color: oklch(53.3% 0.195 7.4);
Tailwind
colors: {
  custom: {
    50: '#db6f86',
    500: '#c12058',
    950: '#000000',
  },
}
SCSS
$custom: #c12058;
$custom-light: #db6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#c12058",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 339.13,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.19505,
    "h": 7.4
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#C12058
secondary
#6ECFAD
accent
#EEAF3A
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #C12058

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

Preview Lab → · Contrast checker → · Palette generator →

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