#C12B5C#C12B5C

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

Color values

HEX#C12B5C
RGBrgb(193, 43, 92)
HSLhsl(340, 64%, 46%)
HSVhsv(340, 78%, 76%)
CMYKcmyk(0%, 77.7%, 52.3%, 24.3%)
CIE-LABlab(44.00, 60.82, 8.95)
CIE-LCHlch(44.00, 61.47, 8.37°)
OKLaboklab(54.15% 0.1855 0.0231)
OKLCHoklch(54.15% 0.187 7.1)
XYZxyz(24.7902, 13.8414, 11.4894)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B5C #2BC190
analogous
#C12BA7 #C12B5C #C1452B
triadic
#C12B5C #5CC12B #2B5CC1
tetradic
#C12B5C #A7C12B #2BC190 #452BC1
square
#C12B5C #A7C12B #2BC190 #452BC1
split-complementary
#C12B5C #2BC145 #2BA7C1
monochromatic
#5D152C #8F2044 #C12B5C #D8517D #E383A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12B5C#FFFFFF#000000##FFFFFF
##C12B5C1.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)
#52555D
Deuteranopia (green-blind)
#797358
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12b5c;
/* rgb */ color: rgb(193, 43, 92);
/* oklch */ color: oklch(54.1% 0.187 7.1);
Tailwind
colors: {
  custom: {
    50: '#da7389',
    500: '#c12b5c',
    950: '#000000',
  },
}
SCSS
$custom: #c12b5c;
$custom-light: #da7389;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b5c",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 340.4,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.18692,
    "h": 7.1
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#C12B5C
secondary
#7BCCB2
accent
#E7B141
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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