#C12522#C12522

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

Color values

HEX#C12522
RGBrgb(193, 37, 34)
HSLhsl(1, 70%, 45%)
HSVhsv(1, 82%, 76%)
CMYKcmyk(0%, 80.8%, 82.4%, 24.3%)
CIE-LABlab(42.43, 59.48, 41.91)
CIE-LCHlch(42.43, 72.76, 35.17°)
OKLaboklab(52.67% 0.1699 0.089)
OKLCHoklch(52.67% 0.192 27.6)
XYZxyz(22.9455, 12.7798, 2.7717)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12522 #22BEC1
analogous
#C1226F #C12522 #C17522
triadic
#C12522 #22C125 #2522C1
tetradic
#C12522 #6FC122 #22BEC1 #7522C1
square
#C12522 #6FC122 #22BEC1 #7522C1
split-complementary
#C12522 #22C175 #226FC1
monochromatic
#591110 #8D1B19 #C12522 #DE4542 #E77976

Accessibility & contrast

On white

5.91
#C12522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12522
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12522#FFFFFF#000000##FFFFFF
##C125221.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1F
Deuteranopia (green-blind)
#7E7019
Tritanopia (blue-blind)
#D50027
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c12522;
/* rgb */ color: rgb(193, 37, 34);
/* oklch */ color: oklch(52.7% 0.192 27.6);
Tailwind
colors: {
  custom: {
    50: '#de6f5f',
    500: '#c12522',
    950: '#000000',
  },
}
SCSS
$custom: #c12522;
$custom-light: #de6f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12522",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 34
  },
  "hsl": {
    "h": 1.132,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.19175,
    "h": 27.6
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#C12522
secondary
#71CDCE
accent
#E9ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #C12522

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

Preview Lab → · Contrast checker → · Palette generator →

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