#C12F6F#C12F6F

#C12F6F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.188 H 359.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C12F6F
RGBrgb(193, 47, 111)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 76%)
CMYKcmyk(0%, 75.6%, 42.5%, 24.3%)
CIE-LABlab(44.97, 61.27, -1.45)
CIE-LCHlch(44.97, 61.28, 358.64°)
OKLaboklab(55.03% 0.1882 -0.0031)
OKLCHoklch(55.03% 0.188 359.1)
XYZxyz(25.8800, 14.5215, 16.4760)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F6F #2FC181
analogous
#C12FB8 #C12F6F #C1382F
triadic
#C12F6F #6FC12F #2F6FC1
tetradic
#C12F6F #B8C12F #2FC181 #382FC1
square
#C12F6F #B8C12F #2FC181 #382FC1
split-complementary
#C12F6F #2FC138 #2FB8C1
monochromatic
#5F1736 #902353 #C12F6F #D6578F #E288B0

Accessibility & contrast

On white

5.38
#C12F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C12F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F6F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F6F#FFFFFF#000000##FFFFFF
##C12F6F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5971
Deuteranopia (green-blind)
#77746C
Tritanopia (blue-blind)
#D1164B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f6f;
/* rgb */ color: rgb(193, 47, 111);
/* oklch */ color: oklch(55.0% 0.188 359.1);
Tailwind
colors: {
  custom: {
    50: '#d97598',
    500: '#c12f6f',
    950: '#000000',
  },
}
SCSS
$custom: #c12f6f;
$custom-light: #d97598;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f6f",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 333.699,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.18822,
    "h": 359.1
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#C12F6F
secondary
#80CCAB
accent
#E49E44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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