#C12527#C12527

#C12527 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.7% C 0.191 H 26.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#C12527
RGBrgb(193, 37, 39)
HSLhsl(359, 68%, 45%)
HSVhsv(359, 81%, 76%)
CMYKcmyk(0%, 80.8%, 79.8%, 24.3%)
CIE-LABlab(42.48, 59.63, 39.23)
CIE-LCHlch(42.48, 71.38, 33.34°)
OKLaboklab(52.72% 0.1713 0.0849)
OKLCHoklch(52.72% 0.191 26.4)
XYZxyz(23.0229, 12.8108, 3.1796)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12527 #25C1BF
analogous
#C12575 #C12527 #C17125
triadic
#C12527 #27C125 #2527C1
tetradic
#C12527 #75C125 #25C1BF #7125C1
square
#C12527 #75C125 #25C1BF #7125C1
split-complementary
#C12527 #25C171 #2575C1
monochromatic
#5A1112 #8E1B1D #C12527 #DC4749 #E67B7C

Accessibility & contrast

On white

5.90
#C12527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#C12527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12527
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12527#FFFFFF#000000##FFFFFF
##C125271.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F25
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#D50028
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c12527;
/* rgb */ color: rgb(193, 37, 39);
/* oklch */ color: oklch(52.7% 0.191 26.4);
Tailwind
colors: {
  custom: {
    50: '#de6f62',
    500: '#c12527',
    950: '#000000',
  },
}
SCSS
$custom: #c12527;
$custom-light: #de6f62;
$custom-dark: #000000;
JSON
{
  "hex": "#c12527",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 39
  },
  "hsl": {
    "h": 359.231,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.1912,
    "h": 26.4
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#C12527
secondary
#74CECC
accent
#EBE83D
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #C12527

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

Preview Lab → · Contrast checker → · Palette generator →

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