#C12770#C12770

#C12770 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.196 H 357.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C12770
RGBrgb(193, 39, 112)
HSLhsl(332, 66%, 45%)
HSVhsv(332, 80%, 76%)
CMYKcmyk(0%, 79.8%, 42%, 24.3%)
CIE-LABlab(44.18, 63.70, -3.24)
CIE-LCHlch(44.18, 63.78, 357.09°)
OKLaboklab(54.46% 0.196 -0.0077)
OKLCHoklch(54.46% 0.196 357.7)
XYZxyz(25.6444, 13.9617, 16.6706)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12770 #27C178
analogous
#C127BD #C12770 #C12B27
triadic
#C12770 #70C127 #2770C1
tetradic
#C12770 #BDC127 #27C178 #2B27C1
square
#C12770 #BDC127 #27C178 #2B27C1
split-complementary
#C12770 #27C12B #27BDC1
monochromatic
#5B1235 #8E1D52 #C12770 #DB4B8F #E57EAF

Accessibility & contrast

On white

5.54
#C12770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#C12770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12770
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12770#FFFFFF#000000##FFFFFF
##C127701.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#75736D
Tritanopia (blue-blind)
#D10349
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12770;
/* rgb */ color: rgb(193, 39, 112);
/* oklch */ color: oklch(54.5% 0.196 357.7);
Tailwind
colors: {
  custom: {
    50: '#d97298',
    500: '#c12770',
    950: '#000000',
  },
}
SCSS
$custom: #c12770;
$custom-light: #d97298;
$custom-dark: #000000;
JSON
{
  "hex": "#c12770",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 331.558,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.19614,
    "h": 357.7
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#C12770
secondary
#77CDA4
accent
#E9983E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12770

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

Preview Lab → · Contrast checker → · Palette generator →

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