#C12F6B#C12F6B

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

Color values

HEX#C12F6B
RGBrgb(193, 47, 107)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 75.6%, 44.6%, 24.3%)
CIE-LABlab(44.85, 60.88, 0.84)
CIE-LCHlch(44.85, 60.89, 0.79°)
OKLaboklab(54.9% 0.1869 0.0029)
OKLCHoklch(54.9% 0.187 0.9)
XYZxyz(25.6647, 14.4354, 15.3419)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F6B #2FC185
analogous
#C12FB4 #C12F6B #C13C2F
triadic
#C12F6B #6BC12F #2F6BC1
tetradic
#C12F6B #B4C12F #2FC185 #3C2FC1
square
#C12F6B #B4C12F #2FC185 #3C2FC1
split-complementary
#C12F6B #2FC13C #2FB4C1
monochromatic
#5F1734 #902350 #C12F6B #D6578B #E288AD

Accessibility & contrast

On white

5.40
#C12F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C12F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F6B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F6B#FFFFFF#000000##FFFFFF
##C12F6B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#787468
Tritanopia (blue-blind)
#D21349
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12f6b;
/* rgb */ color: rgb(193, 47, 107);
/* oklch */ color: oklch(54.9% 0.187 0.9);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c12f6b',
    950: '#000000',
  },
}
SCSS
$custom: #c12f6b;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f6b",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 335.342,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.18689,
    "h": 0.9
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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