#C12671#C12671

#C12671 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.197 H 357.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C12671
RGBrgb(193, 38, 113)
HSLhsl(331, 67%, 45%)
HSVhsv(331, 80%, 76%)
CMYKcmyk(0%, 80.3%, 41.5%, 24.3%)
CIE-LABlab(44.12, 64.06, -3.95)
CIE-LCHlch(44.12, 64.18, 356.47°)
OKLaboklab(54.43% 0.1972 -0.0096)
OKLCHoklch(54.43% 0.197 357.2)
XYZxyz(25.6680, 13.9193, 16.9546)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12671 #26C176
analogous
#C126BE #C12671 #C12926
triadic
#C12671 #71C126 #2671C1
tetradic
#C12671 #BEC126 #26C176 #2926C1
square
#C12671 #BEC126 #26C176 #2926C1
split-complementary
#C12671 #26C129 #26BEC1
monochromatic
#5B1235 #8E1C53 #C12671 #DB4990 #E57CAF

Accessibility & contrast

On white

5.55
#C12671 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#C12671 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12671
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12671#FFFFFF#000000##FFFFFF
##C126711.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#D10249
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12671;
/* rgb */ color: rgb(193, 38, 113);
/* oklch */ color: oklch(54.4% 0.197 357.2);
Tailwind
colors: {
  custom: {
    50: '#d97299',
    500: '#c12671',
    950: '#000000',
  },
}
SCSS
$custom: #c12671;
$custom-light: #d97299;
$custom-dark: #000000;
JSON
{
  "hex": "#c12671",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 330.968,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54427,
    "c": 0.19738,
    "h": 357.2
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#C12671
secondary
#75CDA3
accent
#EA973E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12671

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

Preview Lab → · Contrast checker → · Palette generator →

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