#C12271#C12271

#C12271 is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.2% C 0.201 H 356.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C12271
RGBrgb(193, 34, 113)
HSLhsl(330, 70%, 45%)
HSVhsv(330, 82%, 76%)
CMYKcmyk(0%, 82.4%, 41.5%, 24.3%)
CIE-LABlab(43.77, 65.06, -4.47)
CIE-LCHlch(43.77, 65.22, 356.07°)
OKLaboklab(54.17% 0.2004 -0.0109)
OKLCHoklch(54.17% 0.201 356.9)
XYZxyz(25.5469, 13.6772, 16.9143)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12271 #22C172
analogous
#C122C0 #C12271 #C12322
triadic
#C12271 #71C122 #2271C1
tetradic
#C12271 #C0C122 #22C172 #2322C1
square
#C12271 #C0C122 #22C172 #2322C1
split-complementary
#C12271 #22C123 #22C0C1
monochromatic
#591034 #8D1953 #C12271 #DE4290 #E776AE

Accessibility & contrast

On white

5.62
#C12271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#C12271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12271
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12271#FFFFFF#000000##FFFFFF
##C122711.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#73726D
Tritanopia (blue-blind)
#D10047
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12271;
/* rgb */ color: rgb(193, 34, 113);
/* oklch */ color: oklch(54.2% 0.201 356.9);
Tailwind
colors: {
  custom: {
    50: '#d97099',
    500: '#c12271',
    950: '#000000',
  },
}
SCSS
$custom: #c12271;
$custom-light: #d97099;
$custom-dark: #000000;
JSON
{
  "hex": "#c12271",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 330.189,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.20067,
    "h": 356.9
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#C12271
secondary
#71CEA0
accent
#ED943B
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12271

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

Preview Lab → · Contrast checker → · Palette generator →

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