#C12E6D#C12E6D

#C12E6D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.189 H 359.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C12E6D
RGBrgb(193, 46, 109)
HSLhsl(334, 62%, 47%)
HSVhsv(334, 76%, 76%)
CMYKcmyk(0%, 76.2%, 43.5%, 24.3%)
CIE-LABlab(44.80, 61.39, -0.47)
CIE-LCHlch(44.80, 61.39, 359.56°)
OKLaboklab(54.89% 0.1885 -0.0005)
OKLCHoklch(54.89% 0.189 359.8)
XYZxyz(25.7316, 14.3989, 15.8893)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E6D #2EC182
analogous
#C12EB7 #C12E6D #C1392E
triadic
#C12E6D #6DC12E #2E6DC1
tetradic
#C12E6D #B7C12E #2EC182 #392EC1
square
#C12E6D #B7C12E #2EC182 #392EC1
split-complementary
#C12E6D #2EC139 #2EB7C1
monochromatic
#5E1635 #902251 #C12E6D #D7568D #E287AE

Accessibility & contrast

On white

5.41
#C12E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C12E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12E6D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E6D#FFFFFF#000000##FFFFFF
##C12E6D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586F
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#D1124A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12e6d;
/* rgb */ color: rgb(193, 46, 109);
/* oklch */ color: oklch(54.9% 0.189 359.8);
Tailwind
colors: {
  custom: {
    50: '#d97596',
    500: '#c12e6d',
    950: '#000000',
  },
}
SCSS
$custom: #c12e6d;
$custom-light: #d97596;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e6d",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 334.286,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.18854,
    "h": 359.8
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#C12E6D
secondary
#7FCCAB
accent
#E59F43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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