#C12F58#C12F58

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

Color values

HEX#C12F58
RGBrgb(193, 47, 88)
HSLhsl(343, 61%, 47%)
HSVhsv(343, 76%, 76%)
CMYKcmyk(0%, 75.6%, 54.4%, 24.3%)
CIE-LABlab(44.35, 59.28, 11.91)
CIE-LCHlch(44.35, 60.46, 11.36°)
OKLaboklab(54.37% 0.18 0.0302)
OKLCHoklch(54.37% 0.183 9.5)
XYZxyz(24.7726, 14.0786, 10.6436)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F58 #2FC198
analogous
#C12FA1 #C12F58 #C14F2F
triadic
#C12F58 #58C12F #2F58C1
tetradic
#C12F58 #A1C12F #2FC198 #4F2FC1
square
#C12F58 #A1C12F #2FC198 #4F2FC1
split-complementary
#C12F58 #2FC14F #2FA1C1
monochromatic
#5F172B #902342 #C12F58 #D6577B #E288A2

Accessibility & contrast

On white

5.50
#C12F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#C12F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F58
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F58#FFFFFF#000000##FFFFFF
##C12F581.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555659
Deuteranopia (green-blind)
#7B7454
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12f58;
/* rgb */ color: rgb(193, 47, 88);
/* oklch */ color: oklch(54.4% 0.183 9.5);
Tailwind
colors: {
  custom: {
    50: '#da7586',
    500: '#c12f58',
    950: '#000000',
  },
}
SCSS
$custom: #c12f58;
$custom-light: #da7586;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f58",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 343.151,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.18252,
    "h": 9.5
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#C12F58
secondary
#80CCB7
accent
#E4B744
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12F58

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

Preview Lab → · Contrast checker → · Palette generator →

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