#A7252D#A7252D

#A7252D is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.0% C 0.166 H 23.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A7252D
RGBrgb(167, 37, 45)
HSLhsl(356, 64%, 40%)
HSVhsv(356, 78%, 65%)
CMYKcmyk(0%, 77.8%, 73.1%, 34.5%)
CIE-LABlab(37.35, 52.14, 28.63)
CIE-LCHlch(37.35, 59.49, 28.78°)
OKLaboklab(48.02% 0.1522 0.0653)
OKLCHoklch(48.02% 0.166 23.2)
XYZxyz(17.0735, 9.7308, 3.4613)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7252D #25A79F
analogous
#A7256E #A7252D #A75E25
triadic
#A7252D #2DA725 #252DA7
tetradic
#A7252D #6EA725 #25A79F #5E25A7
square
#A7252D #6EA725 #25A79F #5E25A7
split-complementary
#A7252D #25A75E #256EA7
monochromatic
#430F12 #751A1F #A7252D #D33740 #DE6970

Accessibility & contrast

On white

7.13
#A7252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A7252D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7252D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7252D#FFFFFF#000000##FFFFFF
##A7252D1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462C
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#B80029
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7252d;
/* rgb */ color: rgb(167, 37, 45);
/* oklch */ color: oklch(48.0% 0.166 23.2);
Tailwind
colors: {
  custom: {
    50: '#c96c66',
    500: '#a7252d',
    950: '#000000',
  },
}
SCSS
$custom: #a7252d;
$custom-light: #c96c66;
$custom-dark: #000000;
JSON
{
  "hex": "#a7252d",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 356.308,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.16561,
    "h": 23.2
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#A7252D
secondary
#64C4BE
accent
#E7DD41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7252D

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

Preview Lab → · Contrast checker → · Palette generator →

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