#C12B5F#C12B5F

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

Color values

HEX#C12B5F
RGBrgb(193, 43, 95)
HSLhsl(339, 64%, 46%)
HSVhsv(339, 78%, 76%)
CMYKcmyk(0%, 77.7%, 50.8%, 24.3%)
CIE-LABlab(44.08, 61.06, 7.19)
CIE-LCHlch(44.08, 61.48, 6.71°)
OKLaboklab(54.23% 0.1866 0.0188)
OKLCHoklch(54.23% 0.188 5.8)
XYZxyz(24.9240, 13.8949, 12.1938)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B5F #2BC18D
analogous
#C12BAA #C12B5F #C1422B
triadic
#C12B5F #5FC12B #2B5FC1
tetradic
#C12B5F #AAC12B #2BC18D #422BC1
square
#C12B5F #AAC12B #2BC18D #422BC1
split-complementary
#C12B5F #2BC142 #2BAAC1
monochromatic
#5D152E #8F2046 #C12B5F #D85180 #E383A4

Accessibility & contrast

On white

5.56
#C12B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12B5F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B5F#FFFFFF#000000##FFFFFF
##C12B5F1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#D20042
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12b5f;
/* rgb */ color: rgb(193, 43, 95);
/* oklch */ color: oklch(54.2% 0.188 5.8);
Tailwind
colors: {
  custom: {
    50: '#da738c',
    500: '#c12b5f',
    950: '#000000',
  },
}
SCSS
$custom: #c12b5f;
$custom-light: #da738c;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b5f",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 339.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.18754,
    "h": 5.8
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#C12B5F
secondary
#7BCCB0
accent
#E7AD41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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