#C12B5B#C12B5B

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

Color values

HEX#C12B5B
RGBrgb(193, 43, 91)
HSLhsl(341, 64%, 46%)
HSVhsv(341, 78%, 76%)
CMYKcmyk(0%, 77.7%, 52.8%, 24.3%)
CIE-LABlab(43.98, 60.74, 9.53)
CIE-LCHlch(43.98, 61.48, 8.92°)
OKLaboklab(54.12% 0.1851 0.0245)
OKLCHoklch(54.12% 0.187 7.5)
XYZxyz(24.7468, 13.8241, 11.2607)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B5B #2BC191
analogous
#C12BA6 #C12B5B #C1462B
triadic
#C12B5B #5BC12B #2B5BC1
tetradic
#C12B5B #A6C12B #2BC191 #462BC1
square
#C12B5B #A6C12B #2BC191 #462BC1
split-complementary
#C12B5B #2BC146 #2BA6C1
monochromatic
#5D152C #8F2043 #C12B5B #D8517C #E383A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12B5B#FFFFFF#000000##FFFFFF
##C12B5B1.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)
#52555C
Deuteranopia (green-blind)
#797357
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12b5b;
/* rgb */ color: rgb(193, 43, 91);
/* oklch */ color: oklch(54.1% 0.187 7.5);
Tailwind
colors: {
  custom: {
    50: '#da7389',
    500: '#c12b5b',
    950: '#000000',
  },
}
SCSS
$custom: #c12b5b;
$custom-light: #da7389;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b5b",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 340.8,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.18674,
    "h": 7.5
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#C12B5B
secondary
#7BCCB2
accent
#E7B241
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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