#C12B5A#C12B5A

#C12B5A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.187 H 8.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C12B5A
RGBrgb(193, 43, 90)
HSLhsl(341, 64%, 46%)
HSVhsv(341, 78%, 76%)
CMYKcmyk(0%, 77.7%, 53.4%, 24.3%)
CIE-LABlab(43.95, 60.66, 10.12)
CIE-LCHlch(43.95, 61.50, 9.47°)
OKLaboklab(54.09% 0.1848 0.0259)
OKLCHoklch(54.09% 0.187 8)
XYZxyz(24.7040, 13.8069, 11.0350)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B5A #2BC192
analogous
#C12BA5 #C12B5A #C1472B
triadic
#C12B5A #5AC12B #2B5AC1
tetradic
#C12B5A #A5C12B #2BC192 #472BC1
square
#C12B5A #A5C12B #2BC192 #472BC1
split-complementary
#C12B5A #2BC147 #2BA5C1
monochromatic
#5D152B #8F2043 #C12B5A #D8517B #E383A1

Accessibility & contrast

On white

5.58
#C12B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C12B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B5A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B5A#FFFFFF#000000##FFFFFF
##C12B5A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555B
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12b5a;
/* rgb */ color: rgb(193, 43, 90);
/* oklch */ color: oklch(54.1% 0.187 8.0);
Tailwind
colors: {
  custom: {
    50: '#da7388',
    500: '#c12b5a',
    950: '#000000',
  },
}
SCSS
$custom: #c12b5a;
$custom-light: #da7388;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b5a",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 341.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54094,
    "c": 0.18656,
    "h": 8
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#C12B5A
secondary
#7BCCB3
accent
#E7B341
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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