#A51F2E#A51F2E

#A51F2E is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.2% C 0.168 H 21.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A51F2E
RGBrgb(165, 31, 46)
HSLhsl(353, 68%, 38%)
HSVhsv(353, 81%, 65%)
CMYKcmyk(0%, 81.2%, 72.1%, 35.3%)
CIE-LABlab(36.33, 53.39, 26.71)
CIE-LCHlch(36.33, 59.69, 26.58°)
OKLaboklab(47.19% 0.1567 0.0613)
OKLCHoklch(47.19% 0.168 21.4)
XYZxyz(16.5021, 9.1792, 3.4871)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F2E #1FA596
analogous
#A51F71 #A51F2E #A5531F
triadic
#A51F2E #2EA51F #1F2EA5
tetradic
#A51F2E #71A51F #1FA596 #531FA5
square
#A51F2E #71A51F #1FA596 #531FA5
split-complementary
#A51F2E #1FA553 #1F71A5
monochromatic
#3E0C11 #711520 #A51F2E #D72A3E #E15E6C

Accessibility & contrast

On white

7.41
#A51F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A51F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F2E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F2E#FFFFFF#000000##FFFFFF
##A51F2E1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49432D
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#B60026
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51f2e;
/* rgb */ color: rgb(165, 31, 46);
/* oklch */ color: oklch(47.2% 0.168 21.4);
Tailwind
colors: {
  custom: {
    50: '#c86966',
    500: '#a51f2e',
    950: '#000000',
  },
}
SCSS
$custom: #a51f2e;
$custom-light: #c86966;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f2e",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 353.284,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.16826,
    "h": 21.4
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#A51F2E
secondary
#5BC5B9
accent
#EBD83D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A51F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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