#C12F5D#C12F5D

#C12F5D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.183 H 7.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C12F5D
RGBrgb(193, 47, 93)
HSLhsl(341, 61%, 47%)
HSVhsv(341, 76%, 76%)
CMYKcmyk(0%, 75.6%, 51.8%, 24.3%)
CIE-LABlab(44.47, 59.67, 8.98)
CIE-LCHlch(44.47, 60.34, 8.56°)
OKLaboklab(54.5% 0.1819 0.0232)
OKLCHoklch(54.5% 0.183 7.3)
XYZxyz(24.9869, 14.1643, 11.7720)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F5D #2FC193
analogous
#C12FA6 #C12F5D #C14A2F
triadic
#C12F5D #5DC12F #2F5DC1
tetradic
#C12F5D #A6C12F #2FC193 #4A2FC1
square
#C12F5D #A6C12F #2FC193 #4A2FC1
split-complementary
#C12F5D #2FC14A #2FA6C1
monochromatic
#5F172E #902345 #C12F5D #D6577F #E288A5

Accessibility & contrast

On white

5.48
#C12F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#C12F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F5D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F5D#FFFFFF#000000##FFFFFF
##C12F5D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54575E
Deuteranopia (green-blind)
#7A7459
Tritanopia (blue-blind)
#D20343
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12f5d;
/* rgb */ color: rgb(193, 47, 93);
/* oklch */ color: oklch(54.5% 0.183 7.3);
Tailwind
colors: {
  custom: {
    50: '#da758a',
    500: '#c12f5d',
    950: '#000000',
  },
}
SCSS
$custom: #c12f5d;
$custom-light: #da758a;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f5d",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 341.096,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.18336,
    "h": 7.3
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#C12F5D
secondary
#80CCB4
accent
#E4B244
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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