#A7252B#A7252B

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

Color values

HEX#A7252B
RGBrgb(167, 37, 43)
HSLhsl(357, 64%, 40%)
HSVhsv(357, 78%, 65%)
CMYKcmyk(0%, 77.8%, 74.3%, 34.5%)
CIE-LABlab(37.33, 52.05, 29.82)
CIE-LCHlch(37.33, 59.99, 29.81°)
OKLaboklab(47.99% 0.1515 0.0674)
OKLCHoklch(47.99% 0.166 24)
XYZxyz(17.0359, 9.7157, 3.2633)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7252B #25A7A1
analogous
#A7256C #A7252B #A76025
triadic
#A7252B #2BA725 #252BA7
tetradic
#A7252B #6CA725 #25A7A1 #6025A7
square
#A7252B #6CA725 #25A7A1 #6025A7
split-complementary
#A7252B #25A760 #256CA7
monochromatic
#430F11 #751A1E #A7252B #D3373E #DE696E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7252B#FFFFFF#000000##FFFFFF
##A7252B1.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)
#4D462A
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#B80029
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7252b;
/* rgb */ color: rgb(167, 37, 43);
/* oklch */ color: oklch(48.0% 0.166 24.0);
Tailwind
colors: {
  custom: {
    50: '#ca6b64',
    500: '#a7252b',
    950: '#000000',
  },
}
SCSS
$custom: #a7252b;
$custom-light: #ca6b64;
$custom-dark: #000000;
JSON
{
  "hex": "#a7252b",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 43
  },
  "hsl": {
    "h": 357.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.1658,
    "h": 24
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#A7252B
secondary
#64C4BF
accent
#E7DF41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A7252B

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

Preview Lab → · Contrast checker → · Palette generator →

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