#C12774#C12774

#C12774 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.6% C 0.198 H 356.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C12774
RGBrgb(193, 39, 116)
HSLhsl(330, 66%, 45%)
HSVhsv(330, 80%, 76%)
CMYKcmyk(0%, 79.8%, 39.9%, 24.3%)
CIE-LABlab(44.31, 64.09, -5.52)
CIE-LCHlch(44.31, 64.33, 355.08°)
OKLaboklab(54.6% 0.1972 -0.0137)
OKLCHoklch(54.6% 0.198 356)
XYZxyz(25.8721, 14.0528, 17.8697)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12774 #27C174
analogous
#C127C1 #C12774 #C12727
triadic
#C12774 #74C127 #2774C1
tetradic
#C12774 #C1C127 #27C174 #2727C1
square
#C12774 #C1C127 #27C174 #2727C1
split-complementary
#C12774 #27C127 #27C1C1
monochromatic
#5B1237 #8E1D55 #C12774 #DB4B93 #E57EB1

Accessibility & contrast

On white

5.51
#C12774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#C12774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12774
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12774#FFFFFF#000000##FFFFFF
##C127741.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495776
Deuteranopia (green-blind)
#747371
Tritanopia (blue-blind)
#D1094B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12774;
/* rgb */ color: rgb(193, 39, 116);
/* oklch */ color: oklch(54.6% 0.198 356.0);
Tailwind
colors: {
  custom: {
    50: '#d9729b',
    500: '#c12774',
    950: '#000000',
  },
}
SCSS
$custom: #c12774;
$custom-light: #d9729b;
$custom-dark: #000000;
JSON
{
  "hex": "#c12774",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 330,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.19768,
    "h": 356
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#C12774
secondary
#77CDA2
accent
#E9943E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12774

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

Preview Lab → · Contrast checker → · Palette generator →

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