#C12F68#C12F68

#C12F68 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.186 H 2.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C12F68
RGBrgb(193, 47, 104)
HSLhsl(337, 61%, 47%)
HSVhsv(337, 76%, 76%)
CMYKcmyk(0%, 75.6%, 46.1%, 24.3%)
CIE-LABlab(44.76, 60.61, 2.57)
CIE-LCHlch(44.76, 60.66, 2.43°)
OKLaboklab(54.81% 0.1858 0.0073)
OKLCHoklch(54.81% 0.186 2.2)
XYZxyz(25.5096, 14.3734, 14.5251)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F68 #2FC188
analogous
#C12FB1 #C12F68 #C13F2F
triadic
#C12F68 #68C12F #2F68C1
tetradic
#C12F68 #B1C12F #2FC188 #3F2FC1
square
#C12F68 #B1C12F #2FC188 #3F2FC1
split-complementary
#C12F68 #2FC13F #2FB1C1
monochromatic
#5F1733 #90234D #C12F68 #D65789 #E288AB

Accessibility & contrast

On white

5.42
#C12F68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C12F68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F68
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F68#FFFFFF#000000##FFFFFF
##C12F681.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515869
Deuteranopia (green-blind)
#787465
Tritanopia (blue-blind)
#D21048
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f68;
/* rgb */ color: rgb(193, 47, 104);
/* oklch */ color: oklch(54.8% 0.186 2.2);
Tailwind
colors: {
  custom: {
    50: '#d97592',
    500: '#c12f68',
    950: '#000000',
  },
}
SCSS
$custom: #c12f68;
$custom-light: #d97592;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f68",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 336.575,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.18599,
    "h": 2.2
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#C12F68
secondary
#80CCAE
accent
#E4A544
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090D
muted
#847B7D

Preview Lab

Preview with #C12F68

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

Preview Lab → · Contrast checker → · Palette generator →

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