#A02531#A02531

#A02531 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.8% C 0.158 H 20.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A02531
RGBrgb(160, 37, 49)
HSLhsl(354, 62%, 39%)
HSVhsv(354, 77%, 63%)
CMYKcmyk(0%, 76.9%, 69.4%, 37.3%)
CIE-LABlab(36.02, 50.18, 24.23)
CIE-LCHlch(36.02, 55.73, 25.77°)
OKLaboklab(46.8% 0.1478 0.0566)
OKLCHoklch(46.8% 0.158 20.9)
XYZxyz(15.7149, 9.0209, 3.8189)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02531 #25A094
analogous
#A0256E #A02531 #A05625
triadic
#A02531 #31A025 #2531A0
tetradic
#A02531 #6EA025 #25A094 #5625A0
square
#A02531 #6EA025 #25A094 #5625A0
split-complementary
#A02531 #25A056 #256EA0
monochromatic
#3D0E13 #6E1A22 #A02531 #D03242 #DB6470

Accessibility & contrast

On white

7.49
#A02531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A02531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02531
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02531#FFFFFF#000000##FFFFFF
##A025311.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494430
Deuteranopia (green-blind)
#685E2D
Tritanopia (blue-blind)
#B0002B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02531;
/* rgb */ color: rgb(160, 37, 49);
/* oklch */ color: oklch(46.8% 0.158 20.9);
Tailwind
colors: {
  custom: {
    50: '#c46b69',
    500: '#a02531',
    950: '#000000',
  },
}
SCSS
$custom: #a02531;
$custom-light: #c46b69;
$custom-dark: #000000;
JSON
{
  "hex": "#a02531",
  "rgb": {
    "r": 160,
    "g": 37,
    "b": 49
  },
  "hsl": {
    "h": 354.146,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46799,
    "c": 0.15829,
    "h": 20.9
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#A02531
secondary
#60C1B7
accent
#E6D642
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A02531

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

Preview Lab → · Contrast checker → · Palette generator →

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