#C12E63#C12E63

#C12E63 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.186 H 4.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C12E63
RGBrgb(193, 46, 99)
HSLhsl(338, 62%, 47%)
HSVhsv(338, 76%, 76%)
CMYKcmyk(0%, 76.2%, 48.7%, 24.3%)
CIE-LABlab(44.51, 60.48, 5.31)
CIE-LCHlch(44.51, 60.72, 5.02°)
OKLaboklab(54.58% 0.1851 0.0142)
OKLCHoklch(54.58% 0.186 4.4)
XYZxyz(25.2236, 14.1957, 13.2138)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E63 #2EC18C
analogous
#C12EAD #C12E63 #C1422E
triadic
#C12E63 #63C12E #2E63C1
tetradic
#C12E63 #ADC12E #2EC18C #422EC1
square
#C12E63 #ADC12E #2EC18C #422EC1
split-complementary
#C12E63 #2EC142 #2EADC1
monochromatic
#5E1630 #90224A #C12E63 #D75684 #E287A8

Accessibility & contrast

On white

5.47
#C12E63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C12E63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12E63
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E63#FFFFFF#000000##FFFFFF
##C12E631.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525764
Deuteranopia (green-blind)
#797460
Tritanopia (blue-blind)
#D20745
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12e63;
/* rgb */ color: rgb(193, 46, 99);
/* oklch */ color: oklch(54.6% 0.186 4.4);
Tailwind
colors: {
  custom: {
    50: '#da748f',
    500: '#c12e63',
    950: '#000000',
  },
}
SCSS
$custom: #c12e63;
$custom-light: #da748f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e63",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 338.367,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.18564,
    "h": 4.4
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#C12E63
secondary
#7FCCB0
accent
#E5AA43
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12E63

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

Preview Lab → · Contrast checker → · Palette generator →

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