#C12F71#C12F71

#C12F71 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.189 H 358.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C12F71
RGBrgb(193, 47, 113)
HSLhsl(333, 61%, 47%)
HSVhsv(333, 76%, 76%)
CMYKcmyk(0%, 75.6%, 41.5%, 24.3%)
CIE-LABlab(45.03, 61.46, -2.59)
CIE-LCHlch(45.03, 61.52, 357.58°)
OKLaboklab(55.1% 0.1888 -0.006)
OKLCHoklch(55.1% 0.189 358.2)
XYZxyz(25.9914, 14.5661, 17.0624)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F71 #2FC17F
analogous
#C12FBA #C12F71 #C1362F
triadic
#C12F71 #71C12F #2F71C1
tetradic
#C12F71 #BAC12F #2FC17F #362FC1
square
#C12F71 #BAC12F #2FC17F #362FC1
split-complementary
#C12F71 #2FC136 #2FBAC1
monochromatic
#5F1737 #902354 #C12F71 #D65791 #E288B1

Accessibility & contrast

On white

5.37
#C12F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C12F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F71
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F71#FFFFFF#000000##FFFFFF
##C12F711.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#76756E
Tritanopia (blue-blind)
#D1184C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c12f71;
/* rgb */ color: rgb(193, 47, 113);
/* oklch */ color: oklch(55.1% 0.189 358.2);
Tailwind
colors: {
  custom: {
    50: '#d97599',
    500: '#c12f71',
    950: '#000000',
  },
}
SCSS
$custom: #c12f71;
$custom-light: #d97599;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f71",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 332.877,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.18893,
    "h": 358.2
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#C12F71
secondary
#80CCAA
accent
#E49C44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C12F71

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

Preview Lab → · Contrast checker → · Palette generator →

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