#C12D52#C12D52

#C12D52 is a mid, vivid red. Relative luminance 0.138; OKLCH L 54.1% C 0.184 H 11.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C12D52
RGBrgb(193, 45, 82)
HSLhsl(345, 62%, 47%)
HSVhsv(345, 77%, 76%)
CMYKcmyk(0%, 76.7%, 57.5%, 24.3%)
CIE-LABlab(43.98, 59.47, 15.15)
CIE-LCHlch(43.98, 61.37, 14.29°)
OKLaboklab(54.05% 0.1797 0.0378)
OKLCHoklch(54.05% 0.184 11.9)
XYZxyz(24.4561, 13.8270, 9.3621)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D52 #2DC19C
analogous
#C12D9C #C12D52 #C1522D
triadic
#C12D52 #52C12D #2D52C1
tetradic
#C12D52 #9CC12D #2DC19C #522DC1
square
#C12D52 #9CC12D #2DC19C #522DC1
split-complementary
#C12D52 #2DC152 #2D9CC1
monochromatic
#5E1628 #8F213D #C12D52 #D75475 #E3869D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12D52#FFFFFF#000000##FFFFFF
##C12D521.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)
#555552
Deuteranopia (green-blind)
#7B734E
Tritanopia (blue-blind)
#D3003D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d52;
/* rgb */ color: rgb(193, 45, 82);
/* oklch */ color: oklch(54.1% 0.184 11.9);
Tailwind
colors: {
  custom: {
    50: '#db7482',
    500: '#c12d52',
    950: '#000000',
  },
}
SCSS
$custom: #c12d52;
$custom-light: #db7482;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d52",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 345,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.18366,
    "h": 11.9
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#C12D52
secondary
#7ECCB9
accent
#E5BD43
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12D52

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

Preview Lab → · Contrast checker → · Palette generator →

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