#A7252F#A7252F

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

Color values

HEX#A7252F
RGBrgb(167, 37, 47)
HSLhsl(355, 64%, 40%)
HSVhsv(355, 78%, 65%)
CMYKcmyk(0%, 77.8%, 71.9%, 34.5%)
CIE-LABlab(37.38, 52.23, 27.44)
CIE-LCHlch(37.38, 59.00, 27.72°)
OKLaboklab(48.05% 0.153 0.063)
OKLCHoklch(48.05% 0.165 22.4)
XYZxyz(17.1130, 9.7465, 3.6690)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7252F #25A79D
analogous
#A72570 #A7252F #A75C25
triadic
#A7252F #2FA725 #252FA7
tetradic
#A7252F #70A725 #25A79D #5C25A7
square
#A7252F #70A725 #25A79D #5C25A7
split-complementary
#A7252F #25A75C #2570A7
monochromatic
#430F13 #751A21 #A7252F #D33743 #DE6972

Accessibility & contrast

On white

7.12
#A7252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A7252F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7252F#FFFFFF#000000##FFFFFF
##A7252F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7252f;
/* rgb */ color: rgb(167, 37, 47);
/* oklch */ color: oklch(48.0% 0.165 22.4);
Tailwind
colors: {
  custom: {
    50: '#c96c67',
    500: '#a7252f',
    950: '#000000',
  },
}
SCSS
$custom: #a7252f;
$custom-light: #c96c67;
$custom-dark: #000000;
JSON
{
  "hex": "#a7252f",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 355.385,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.16544,
    "h": 22.4
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#A7252F
secondary
#64C4BC
accent
#E7DA41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7252F

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

Preview Lab → · Contrast checker → · Palette generator →

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