#A7252E#A7252E

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

Color values

HEX#A7252E
RGBrgb(167, 37, 46)
HSLhsl(356, 64%, 40%)
HSVhsv(356, 78%, 65%)
CMYKcmyk(0%, 77.8%, 72.5%, 34.5%)
CIE-LABlab(37.37, 52.19, 28.04)
CIE-LCHlch(37.37, 59.24, 28.25°)
OKLaboklab(48.03% 0.1526 0.0642)
OKLCHoklch(48.03% 0.166 22.8)
XYZxyz(17.0930, 9.7385, 3.5639)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7252E #25A79E
analogous
#A7256F #A7252E #A75D25
triadic
#A7252E #2EA725 #252EA7
tetradic
#A7252E #6FA725 #25A79E #5D25A7
square
#A7252E #6FA725 #25A79E #5D25A7
split-complementary
#A7252E #25A75D #256FA7
monochromatic
#430F12 #751A20 #A7252E #D33741 #DE6971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7252E#FFFFFF#000000##FFFFFF
##A7252E1.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)
#4C462D
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7252e;
/* rgb */ color: rgb(167, 37, 46);
/* oklch */ color: oklch(48.0% 0.166 22.8);
Tailwind
colors: {
  custom: {
    50: '#c96c66',
    500: '#a7252e',
    950: '#000000',
  },
}
SCSS
$custom: #a7252e;
$custom-light: #c96c66;
$custom-dark: #000000;
JSON
{
  "hex": "#a7252e",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 355.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.16552,
    "h": 22.8
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#A7252E
secondary
#64C4BD
accent
#E7DB41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7252E

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

Preview Lab → · Contrast checker → · Palette generator →

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