#A7252C#A7252C

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

Color values

HEX#A7252C
RGBrgb(167, 37, 44)
HSLhsl(357, 64%, 40%)
HSVhsv(357, 78%, 65%)
CMYKcmyk(0%, 77.8%, 73.7%, 34.5%)
CIE-LABlab(37.34, 52.10, 29.23)
CIE-LCHlch(37.34, 59.74, 29.29°)
OKLaboklab(48% 0.1518 0.0663)
OKLCHoklch(48% 0.166 23.6)
XYZxyz(17.0545, 9.7231, 3.3611)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7252C #25A7A0
analogous
#A7256D #A7252C #A75F25
triadic
#A7252C #2CA725 #252CA7
tetradic
#A7252C #6DA725 #25A7A0 #5F25A7
square
#A7252C #6DA725 #25A7A0 #5F25A7
split-complementary
#A7252C #25A75F #256DA7
monochromatic
#430F12 #751A1F #A7252C #D3373F #DE696F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7252C#FFFFFF#000000##FFFFFF
##A7252C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7252c;
/* rgb */ color: rgb(167, 37, 44);
/* oklch */ color: oklch(48.0% 0.166 23.6);
Tailwind
colors: {
  custom: {
    50: '#c96c65',
    500: '#a7252c',
    950: '#000000',
  },
}
SCSS
$custom: #a7252c;
$custom-light: #c96c65;
$custom-dark: #000000;
JSON
{
  "hex": "#a7252c",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 44
  },
  "hsl": {
    "h": 356.769,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.1657,
    "h": 23.6
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7252C

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

Preview Lab → · Contrast checker → · Palette generator →

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