#C12B5D#C12B5D

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

Color values

HEX#C12B5D
RGBrgb(193, 43, 93)
HSLhsl(340, 64%, 46%)
HSVhsv(340, 78%, 76%)
CMYKcmyk(0%, 77.7%, 51.8%, 24.3%)
CIE-LABlab(44.03, 60.90, 8.36)
CIE-LCHlch(44.03, 61.47, 7.82°)
OKLaboklab(54.17% 0.1859 0.0217)
OKLCHoklch(54.17% 0.187 6.7)
XYZxyz(24.8342, 13.8590, 11.7212)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B5D #2BC18F
analogous
#C12BA8 #C12B5D #C1442B
triadic
#C12B5D #5DC12B #2B5DC1
tetradic
#C12B5D #A8C12B #2BC18F #442BC1
square
#C12B5D #A8C12B #2BC18F #442BC1
split-complementary
#C12B5D #2BC144 #2BA8C1
monochromatic
#5D152D #8F2045 #C12B5D #D8517E #E383A3

Accessibility & contrast

On white

5.57
#C12B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C12B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B5D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B5D#FFFFFF#000000##FFFFFF
##C12B5D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555E
Deuteranopia (green-blind)
#797359
Tritanopia (blue-blind)
#D30041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12b5d;
/* rgb */ color: rgb(193, 43, 93);
/* oklch */ color: oklch(54.2% 0.187 6.7);
Tailwind
colors: {
  custom: {
    50: '#da738a',
    500: '#c12b5d',
    950: '#000000',
  },
}
SCSS
$custom: #c12b5d;
$custom-light: #da738a;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b5d",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 340,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.18712,
    "h": 6.7
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#C12B5D
secondary
#7BCCB1
accent
#E7AF41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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