#C12D58#C12D58

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

Color values

HEX#C12D58
RGBrgb(193, 45, 88)
HSLhsl(343, 62%, 47%)
HSVhsv(343, 77%, 76%)
CMYKcmyk(0%, 76.7%, 54.4%, 24.3%)
CIE-LABlab(44.12, 59.91, 11.60)
CIE-LCHlch(44.12, 61.02, 10.96°)
OKLaboklab(54.2% 0.182 0.0295)
OKLCHoklch(54.2% 0.184 9.2)
XYZxyz(24.6945, 13.9223, 10.6176)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D58 #2DC196
analogous
#C12DA2 #C12D58 #C14C2D
triadic
#C12D58 #58C12D #2D58C1
tetradic
#C12D58 #A2C12D #2DC196 #4C2DC1
square
#C12D58 #A2C12D #2DC196 #4C2DC1
split-complementary
#C12D58 #2DC14C #2DA2C1
monochromatic
#5E162B #8F2141 #C12D58 #D7547A #E386A1

Accessibility & contrast

On white

5.55
#C12D58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12D58
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D58#FFFFFF#000000##FFFFFF
##C12D581.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545559
Deuteranopia (green-blind)
#7A7354
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d58;
/* rgb */ color: rgb(193, 45, 88);
/* oklch */ color: oklch(54.2% 0.184 9.2);
Tailwind
colors: {
  custom: {
    50: '#da7486',
    500: '#c12d58',
    950: '#000000',
  },
}
SCSS
$custom: #c12d58;
$custom-light: #da7486;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d58",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 342.568,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.1844,
    "h": 9.2
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#C12D58
secondary
#7ECCB5
accent
#E5B643
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12D58

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

Preview Lab → · Contrast checker → · Palette generator →

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