#C12773#C12773

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

Color values

HEX#C12773
RGBrgb(193, 39, 115)
HSLhsl(330, 66%, 45%)
HSVhsv(330, 80%, 76%)
CMYKcmyk(0%, 79.8%, 40.4%, 24.3%)
CIE-LABlab(44.28, 63.99, -4.95)
CIE-LCHlch(44.28, 64.18, 355.58°)
OKLaboklab(54.56% 0.1969 -0.0122)
OKLCHoklch(54.56% 0.197 356.4)
XYZxyz(25.8142, 14.0297, 17.5650)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12773 #27C175
analogous
#C127C0 #C12773 #C12827
triadic
#C12773 #73C127 #2773C1
tetradic
#C12773 #C0C127 #27C175 #2827C1
square
#C12773 #C0C127 #27C175 #2827C1
split-complementary
#C12773 #27C128 #27C0C1
monochromatic
#5B1236 #8E1D55 #C12773 #DB4B92 #E57EB1

Accessibility & contrast

On white

5.52
#C12773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12773
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12773#FFFFFF#000000##FFFFFF
##C127731.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495675
Deuteranopia (green-blind)
#747370
Tritanopia (blue-blind)
#D1084A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12773;
/* rgb */ color: rgb(193, 39, 115);
/* oklch */ color: oklch(54.6% 0.197 356.4);
Tailwind
colors: {
  custom: {
    50: '#d9729b',
    500: '#c12773',
    950: '#000000',
  },
}
SCSS
$custom: #c12773;
$custom-light: #d9729b;
$custom-dark: #000000;
JSON
{
  "hex": "#c12773",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 330.39,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.19728,
    "h": 356.4
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12773

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

Preview Lab → · Contrast checker → · Palette generator →

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