#C12672#C12672

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

Color values

HEX#C12672
RGBrgb(193, 38, 114)
HSLhsl(331, 67%, 45%)
HSVhsv(331, 80%, 76%)
CMYKcmyk(0%, 80.3%, 40.9%, 24.3%)
CIE-LABlab(44.15, 64.16, -4.52)
CIE-LCHlch(44.15, 64.32, 355.97°)
OKLaboklab(54.46% 0.1974 -0.0111)
OKLCHoklch(54.46% 0.198 356.8)
XYZxyz(25.7246, 13.9420, 17.2528)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12672 #26C175
analogous
#C126BF #C12672 #C12826
triadic
#C12672 #72C126 #2672C1
tetradic
#C12672 #BFC126 #26C175 #2826C1
square
#C12672 #BFC126 #26C175 #2826C1
split-complementary
#C12672 #26C128 #26BFC1
monochromatic
#5B1236 #8E1C54 #C12672 #DB4991 #E57CB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12672#FFFFFF#000000##FFFFFF
##C126721.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)
#495674
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#D10449
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12672;
/* rgb */ color: rgb(193, 38, 114);
/* oklch */ color: oklch(54.5% 0.198 356.8);
Tailwind
colors: {
  custom: {
    50: '#d9729a',
    500: '#c12672',
    950: '#000000',
  },
}
SCSS
$custom: #c12672;
$custom-light: #d9729a;
$custom-dark: #000000;
JSON
{
  "hex": "#c12672",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 330.581,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.19776,
    "h": 356.8
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#C12672
secondary
#75CDA2
accent
#EA963E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12672

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

Preview Lab → · Contrast checker → · Palette generator →

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