#C12F5A#C12F5A

#C12F5A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.183 H 8.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C12F5A
RGBrgb(193, 47, 90)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 76%)
CMYKcmyk(0%, 75.6%, 53.4%, 24.3%)
CIE-LABlab(44.39, 59.43, 10.74)
CIE-LCHlch(44.39, 60.39, 10.24°)
OKLaboklab(54.42% 0.1808 0.0274)
OKLCHoklch(54.42% 0.183 8.6)
XYZxyz(24.8566, 14.1122, 11.0859)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F5A #2FC196
analogous
#C12FA3 #C12F5A #C14D2F
triadic
#C12F5A #5AC12F #2F5AC1
tetradic
#C12F5A #A3C12F #2FC196 #4D2FC1
square
#C12F5A #A3C12F #2FC196 #4D2FC1
split-complementary
#C12F5A #2FC14D #2FA3C1
monochromatic
#5F172C #902343 #C12F5A #D6577D #E288A3

Accessibility & contrast

On white

5.49
#C12F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#C12F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F5A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F5A#FFFFFF#000000##FFFFFF
##C12F5A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55565B
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#D30041
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12f5a;
/* rgb */ color: rgb(193, 47, 90);
/* oklch */ color: oklch(54.4% 0.183 8.6);
Tailwind
colors: {
  custom: {
    50: '#da7588',
    500: '#c12f5a',
    950: '#000000',
  },
}
SCSS
$custom: #c12f5a;
$custom-light: #da7588;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f5a",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 342.329,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.18283,
    "h": 8.6
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#C12F5A
secondary
#80CCB5
accent
#E4B544
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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