#C12F6A#C12F6A

#C12F6A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.187 H 1.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C12F6A
RGBrgb(193, 47, 106)
HSLhsl(336, 61%, 47%)
HSVhsv(336, 76%, 76%)
CMYKcmyk(0%, 75.6%, 45.1%, 24.3%)
CIE-LABlab(44.82, 60.79, 1.42)
CIE-LCHlch(44.82, 60.81, 1.34°)
OKLaboklab(54.87% 0.1865 0.0043)
OKLCHoklch(54.87% 0.187 1.3)
XYZxyz(25.6124, 14.4145, 15.0664)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F6A #2FC186
analogous
#C12FB3 #C12F6A #C13D2F
triadic
#C12F6A #6AC12F #2F6AC1
tetradic
#C12F6A #B3C12F #2FC186 #3D2FC1
square
#C12F6A #B3C12F #2FC186 #3D2FC1
split-complementary
#C12F6A #2FC13D #2FB3C1
monochromatic
#5F1734 #90234F #C12F6A #D6578A #E288AD

Accessibility & contrast

On white

5.41
#C12F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C12F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F6A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F6A#FFFFFF#000000##FFFFFF
##C12F6A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51586B
Deuteranopia (green-blind)
#787467
Tritanopia (blue-blind)
#D21249
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f6a;
/* rgb */ color: rgb(193, 47, 106);
/* oklch */ color: oklch(54.9% 0.187 1.3);
Tailwind
colors: {
  custom: {
    50: '#d97594',
    500: '#c12f6a',
    950: '#000000',
  },
}
SCSS
$custom: #c12f6a;
$custom-light: #d97594;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f6a",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 335.753,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.18658,
    "h": 1.3
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#C12F6A
secondary
#80CCAD
accent
#E4A344
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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