#C12E6B#C12E6B

#C12E6B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.188 H 0.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C12E6B
RGBrgb(193, 46, 107)
HSLhsl(335, 62%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 76.2%, 44.6%, 24.3%)
CIE-LABlab(44.74, 61.20, 0.68)
CIE-LCHlch(44.74, 61.20, 0.64°)
OKLaboklab(54.82% 0.1879 0.0024)
OKLCHoklch(54.82% 0.188 0.7)
XYZxyz(25.6252, 14.3564, 15.3287)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E6B #2EC184
analogous
#C12EB5 #C12E6B #C13B2E
triadic
#C12E6B #6BC12E #2E6BC1
tetradic
#C12E6B #B5C12E #2EC184 #3B2EC1
square
#C12E6B #B5C12E #2EC184 #3B2EC1
split-complementary
#C12E6B #2EC13B #2EB5C1
monochromatic
#5E1634 #902250 #C12E6B #D7568B #E287AD

Accessibility & contrast

On white

5.43
#C12E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C12E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12E6B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E6B#FFFFFF#000000##FFFFFF
##C12E6B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#777468
Tritanopia (blue-blind)
#D21049
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12e6b;
/* rgb */ color: rgb(193, 46, 107);
/* oklch */ color: oklch(54.8% 0.188 0.7);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c12e6b',
    950: '#000000',
  },
}
SCSS
$custom: #c12e6b;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e6b",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 335.102,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.18789,
    "h": 0.7
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#C12E6B
secondary
#7FCCAC
accent
#E5A243
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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