#C12F6E#C12F6E

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

Color values

HEX#C12F6E
RGBrgb(193, 47, 110)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 76%)
CMYKcmyk(0%, 75.6%, 43%, 24.3%)
CIE-LABlab(44.94, 61.17, -0.88)
CIE-LCHlch(44.94, 61.18, 359.18°)
OKLaboklab(55% 0.1879 -0.0016)
OKLCHoklch(55% 0.188 359.5)
XYZxyz(25.8253, 14.4996, 16.1876)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F6E #2FC182
analogous
#C12FB7 #C12F6E #C1392F
triadic
#C12F6E #6EC12F #2F6EC1
tetradic
#C12F6E #B7C12F #2FC182 #392FC1
square
#C12F6E #B7C12F #2FC182 #392FC1
split-complementary
#C12F6E #2FC139 #2FB7C1
monochromatic
#5F1736 #902352 #C12F6E #D6578E #E288AF

Accessibility & contrast

On white

5.39
#C12F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12F6E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F6E#FFFFFF#000000##FFFFFF
##C12F6E1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5970
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#D1154B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f6e;
/* rgb */ color: rgb(193, 47, 110);
/* oklch */ color: oklch(55.0% 0.188 359.5);
Tailwind
colors: {
  custom: {
    50: '#d97597',
    500: '#c12f6e',
    950: '#000000',
  },
}
SCSS
$custom: #c12f6e;
$custom-light: #d97597;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f6e",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 334.11,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.18787,
    "h": 359.5
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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