#C12A5F#C12A5F

#C12A5F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.188 H 5.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C12A5F
RGBrgb(193, 42, 95)
HSLhsl(339, 64%, 46%)
HSVhsv(339, 78%, 76%)
CMYKcmyk(0%, 78.2%, 50.8%, 24.3%)
CIE-LABlab(43.98, 61.35, 7.04)
CIE-LCHlch(43.98, 61.76, 6.55°)
OKLaboklab(54.15% 0.1875 0.0184)
OKLCHoklch(54.15% 0.188 5.6)
XYZxyz(24.8881, 13.8231, 12.1818)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A5F #2AC18C
analogous
#C12AAA #C12A5F #C1402A
triadic
#C12A5F #5FC12A #2A5FC1
tetradic
#C12A5F #AAC12A #2AC18C #402AC1
square
#C12A5F #AAC12A #2AC18C #402AC1
split-complementary
#C12A5F #2AC140 #2AAAC1
monochromatic
#5C142E #8F1F46 #C12A5F #D94F80 #E482A4

Accessibility & contrast

On white

5.58
#C12A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C12A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A5F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A5F#FFFFFF#000000##FFFFFF
##C12A5F1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#D20041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12a5f;
/* rgb */ color: rgb(193, 42, 95);
/* oklch */ color: oklch(54.2% 0.188 5.6);
Tailwind
colors: {
  custom: {
    50: '#da738c',
    500: '#c12a5f',
    950: '#000000',
  },
}
SCSS
$custom: #c12a5f;
$custom-light: #da738c;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a5f",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 338.94,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.18844,
    "h": 5.6
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#C12A5F
secondary
#7ACDB0
accent
#E7AD41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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