#A51F30#A51F30

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

Color values

HEX#A51F30
RGBrgb(165, 31, 48)
HSLhsl(352, 68%, 38%)
HSVhsv(352, 81%, 65%)
CMYKcmyk(0%, 81.2%, 70.9%, 35.3%)
CIE-LABlab(36.36, 53.48, 25.49)
CIE-LCHlch(36.36, 59.25, 25.49°)
OKLaboklab(47.22% 0.1575 0.059)
OKLCHoklch(47.22% 0.168 20.5)
XYZxyz(16.5424, 9.1953, 3.6996)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F30 #1FA594
analogous
#A51F73 #A51F30 #A5511F
triadic
#A51F30 #30A51F #1F30A5
tetradic
#A51F30 #73A51F #1FA594 #511FA5
square
#A51F30 #73A51F #1FA594 #511FA5
split-complementary
#A51F30 #1FA551 #1F73A5
monochromatic
#3E0C12 #711521 #A51F30 #D72A40 #E15E6E

Accessibility & contrast

On white

7.40
#A51F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51F30
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F30#FFFFFF#000000##FFFFFF
##A51F301.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432F
Deuteranopia (green-blind)
#6A602C
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51f30;
/* rgb */ color: rgb(165, 31, 48);
/* oklch */ color: oklch(47.2% 0.168 20.5);
Tailwind
colors: {
  custom: {
    50: '#c86968',
    500: '#a51f30',
    950: '#000000',
  },
}
SCSS
$custom: #a51f30;
$custom-light: #c86968;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f30",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 352.388,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.16814,
    "h": 20.5
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#A51F30
secondary
#5BC5B8
accent
#EBD53D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A51F30

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

Preview Lab → · Contrast checker → · Palette generator →

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