#C52F26#C52F26

#C52F26 is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.2% C 0.188 H 28.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C52F26
RGBrgb(197, 47, 38)
HSLhsl(3, 68%, 46%)
HSVhsv(3, 81%, 77%)
CMYKcmyk(0%, 76.1%, 80.7%, 22.7%)
CIE-LABlab(44.30, 57.84, 41.86)
CIE-LCHlch(44.30, 71.40, 35.90°)
OKLaboklab(54.21% 0.1651 0.0899)
OKLCHoklch(54.21% 0.188 28.6)
XYZxyz(24.3953, 14.0472, 3.2602)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F26 #26BCC5
analogous
#C5266C #C52F26 #C57E26
triadic
#C52F26 #26C52F #2F26C5
tetradic
#C52F26 #6CC526 #26BCC5 #7E26C5
square
#C52F26 #6CC526 #26BCC5 #7E26C5
split-complementary
#C52F26 #26C57E #266CC5
monochromatic
#5E1712 #92231C #C52F26 #DC544C #E6857F

Accessibility & contrast

On white

5.51
#C52F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52F26
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F26#FFFFFF#000000##FFFFFF
##C52F261.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#D9002F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c52f26;
/* rgb */ color: rgb(197, 47, 38);
/* oklch */ color: oklch(54.2% 0.188 28.6);
Tailwind
colors: {
  custom: {
    50: '#e07462',
    500: '#c52f26',
    950: '#000000',
  },
}
SCSS
$custom: #c52f26;
$custom-light: #e07462;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f26",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 3.396,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.18796,
    "h": 28.6
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#C52F26
secondary
#78CACF
accent
#E1EB3D
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C52F26

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

Preview Lab → · Contrast checker → · Palette generator →

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