#C12E5F#C12E5F

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

Color values

HEX#C12E5F
RGBrgb(193, 46, 95)
HSLhsl(340, 62%, 47%)
HSVhsv(340, 76%, 76%)
CMYKcmyk(0%, 76.2%, 50.8%, 24.3%)
CIE-LABlab(44.41, 60.15, 7.65)
CIE-LCHlch(44.41, 60.63, 7.25°)
OKLaboklab(54.47% 0.1837 0.0199)
OKLCHoklch(54.47% 0.185 6.2)
XYZxyz(25.0371, 14.1211, 12.2315)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E5F #2EC190
analogous
#C12EA9 #C12E5F #C1472E
triadic
#C12E5F #5FC12E #2E5FC1
tetradic
#C12E5F #A9C12E #2EC190 #472EC1
square
#C12E5F #A9C12E #2EC190 #472EC1
split-complementary
#C12E5F #2EC147 #2EA9C1
monochromatic
#5E162E #902247 #C12E5F #D75681 #E287A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12E5F#FFFFFF#000000##FFFFFF
##C12E5F1.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)
#535660
Deuteranopia (green-blind)
#7A745B
Tritanopia (blue-blind)
#D20243
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12e5f;
/* rgb */ color: rgb(193, 46, 95);
/* oklch */ color: oklch(54.5% 0.185 6.2);
Tailwind
colors: {
  custom: {
    50: '#da748c',
    500: '#c12e5f',
    950: '#000000',
  },
}
SCSS
$custom: #c12e5f;
$custom-light: #da748c;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e5f",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 340,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.18473,
    "h": 6.2
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#C12E5F
secondary
#7FCCB2
accent
#E5AF43
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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