#A51F35#A51F35

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

Color values

HEX#A51F35
RGBrgb(165, 31, 53)
HSLhsl(350, 68%, 38%)
HSVhsv(350, 81%, 65%)
CMYKcmyk(0%, 81.2%, 67.9%, 35.3%)
CIE-LABlab(36.44, 53.74, 22.44)
CIE-LCHlch(36.44, 58.24, 22.67°)
OKLaboklab(47.31% 0.1594 0.053)
OKLCHoklch(47.31% 0.168 18.4)
XYZxyz(16.6515, 9.2389, 4.2740)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F35 #1FA58F
analogous
#A51F78 #A51F35 #A54C1F
triadic
#A51F35 #35A51F #1F35A5
tetradic
#A51F35 #78A51F #1FA58F #4C1FA5
square
#A51F35 #78A51F #1FA58F #4C1FA5
split-complementary
#A51F35 #1FA54C #1F78A5
monochromatic
#3E0C14 #711524 #A51F35 #D72A47 #E15E73

Accessibility & contrast

On white

7.38
#A51F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A51F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F35
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F35#FFFFFF#000000##FFFFFF
##A51F351.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484435
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#B60029
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51f35;
/* rgb */ color: rgb(165, 31, 53);
/* oklch */ color: oklch(47.3% 0.168 18.4);
Tailwind
colors: {
  custom: {
    50: '#c8696c',
    500: '#a51f35',
    950: '#000000',
  },
}
SCSS
$custom: #a51f35;
$custom-light: #c8696c;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f35",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 350.149,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.16797,
    "h": 18.4
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#A51F35
secondary
#5BC5B4
accent
#EBCF3D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A51F35

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

Preview Lab → · Contrast checker → · Palette generator →

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