#C12F78#C12F78

#C12F78 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.192 H 355.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C12F78
RGBrgb(193, 47, 120)
HSLhsl(330, 61%, 47%)
HSVhsv(330, 76%, 76%)
CMYKcmyk(0%, 75.6%, 37.8%, 24.3%)
CIE-LABlab(45.26, 62.17, -6.57)
CIE-LCHlch(45.26, 62.52, 353.97°)
OKLaboklab(55.34% 0.191 -0.0165)
OKLCHoklch(55.34% 0.192 355.1)
XYZxyz(26.4008, 14.7298, 19.2185)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F78 #2FC178
analogous
#C12FC1 #C12F78 #C12F2F
triadic
#C12F78 #78C12F #2F78C1
tetradic
#C12F78 #C1C12F #2FC178 #2F2FC1
square
#C12F78 #C1C12F #2FC178 #2F2FC1
split-complementary
#C12F78 #2FC12F #2FC1C1
monochromatic
#5F173B #902359 #C12F78 #D65797 #E288B5

Accessibility & contrast

On white

5.32
#C12F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C12F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F78
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F78#FFFFFF#000000##FFFFFF
##C12F781.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#D01D50
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c12f78;
/* rgb */ color: rgb(193, 47, 120);
/* oklch */ color: oklch(55.3% 0.192 355.1);
Tailwind
colors: {
  custom: {
    50: '#d9759e',
    500: '#c12f78',
    950: '#000000',
  },
}
SCSS
$custom: #c12f78;
$custom-light: #d9759e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f78",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 330,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.19166,
    "h": 355.1
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#C12F78
secondary
#80CCA6
accent
#E49444
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12F78

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

Preview Lab → · Contrast checker → · Palette generator →

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