#C12B7D#C12B7D

#C12B7D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.198 H 352.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C12B7D
RGBrgb(193, 43, 125)
HSLhsl(327, 64%, 46%)
HSVhsv(327, 78%, 76%)
CMYKcmyk(0%, 77.7%, 35.2%, 24.3%)
CIE-LABlab(45.01, 63.91, -10.01)
CIE-LCHlch(45.01, 64.69, 351.10°)
OKLaboklab(55.21% 0.1962 -0.0258)
OKLCHoklch(55.21% 0.198 352.5)
XYZxyz(26.5595, 14.5491, 20.8077)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B7D #2BC16F
analogous
#BA2BC1 #C12B7D #C12B32
triadic
#C12B7D #7DC12B #2B7DC1
tetradic
#C12B7D #C1BA2B #2BC16F #2B32C1
square
#C12B7D #C1BA2B #2BC16F #2B32C1
split-complementary
#C12B7D #32C12B #2BC1BA
monochromatic
#5D153C #8F205D #C12B7D #D8519B #E383B8

Accessibility & contrast

On white

5.37
#C12B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C12B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B7D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B7D#FFFFFF#000000##FFFFFF
##C12B7D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#73747A
Tritanopia (blue-blind)
#D01B51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12b7d;
/* rgb */ color: rgb(193, 43, 125);
/* oklch */ color: oklch(55.2% 0.198 352.5);
Tailwind
colors: {
  custom: {
    50: '#d974a2',
    500: '#c12b7d',
    950: '#000000',
  },
}
SCSS
$custom: #c12b7d;
$custom-light: #d974a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b7d",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 327.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.19784,
    "h": 352.5
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#C12B7D
secondary
#7BCCA0
accent
#E78C41
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#15090F
muted
#847B7F

Preview Lab

Preview with #C12B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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