#A7252A#A7252A

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

Color values

HEX#A7252A
RGBrgb(167, 37, 42)
HSLhsl(358, 64%, 40%)
HSVhsv(358, 78%, 65%)
CMYKcmyk(0%, 77.8%, 74.9%, 34.5%)
CIE-LABlab(37.31, 52.01, 30.41)
CIE-LCHlch(37.31, 60.25, 30.31°)
OKLaboklab(47.97% 0.1511 0.0685)
OKLCHoklch(47.97% 0.166 24.4)
XYZxyz(17.0178, 9.7085, 3.1679)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7252A #25A7A2
analogous
#A7256B #A7252A #A76125
triadic
#A7252A #2AA725 #252AA7
tetradic
#A7252A #6BA725 #25A7A2 #6125A7
square
#A7252A #6BA725 #25A7A2 #6125A7
split-complementary
#A7252A #25A761 #256BA7
monochromatic
#430F11 #751A1D #A7252A #D3373D #DE696D

Accessibility & contrast

On white

7.14
#A7252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A7252A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7252A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7252A#FFFFFF#000000##FFFFFF
##A7252A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4629
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7252a;
/* rgb */ color: rgb(167, 37, 42);
/* oklch */ color: oklch(48.0% 0.166 24.4);
Tailwind
colors: {
  custom: {
    50: '#ca6b64',
    500: '#a7252a',
    950: '#000000',
  },
}
SCSS
$custom: #a7252a;
$custom-light: #ca6b64;
$custom-dark: #000000;
JSON
{
  "hex": "#a7252a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 357.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.16591,
    "h": 24.4
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#A7252A
secondary
#64C4C0
accent
#E7E041
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A7252A

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

Preview Lab → · Contrast checker → · Palette generator →

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