#C12E6E#C12E6E

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

Color values

HEX#C12E6E
RGBrgb(193, 46, 110)
HSLhsl(334, 62%, 47%)
HSVhsv(334, 76%, 76%)
CMYKcmyk(0%, 76.2%, 43%, 24.3%)
CIE-LABlab(44.83, 61.48, -1.04)
CIE-LCHlch(44.83, 61.49, 359.03°)
OKLaboklab(54.92% 0.1889 -0.002)
OKLCHoklch(54.92% 0.189 359.4)
XYZxyz(25.7858, 14.4206, 16.1744)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E6E #2EC181
analogous
#C12EB7 #C12E6E #C1382E
triadic
#C12E6E #6EC12E #2E6EC1
tetradic
#C12E6E #B7C12E #2EC181 #382EC1
square
#C12E6E #B7C12E #2EC181 #382EC1
split-complementary
#C12E6E #2EC138 #2EB7C1
monochromatic
#5E1636 #902252 #C12E6E #D7568E #E287AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12E6E#FFFFFF#000000##FFFFFF
##C12E6E1.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)
#4F5870
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#D1134A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12e6e;
/* rgb */ color: rgb(193, 46, 110);
/* oklch */ color: oklch(54.9% 0.189 359.4);
Tailwind
colors: {
  custom: {
    50: '#d97597',
    500: '#c12e6e',
    950: '#000000',
  },
}
SCSS
$custom: #c12e6e;
$custom-light: #d97597;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e6e",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 333.878,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.18887,
    "h": 359.4
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#C12E6E
secondary
#7FCCAA
accent
#E59E43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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