#A5304D#A5304D

#A5304D is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.153 H 10.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A5304D
RGBrgb(165, 48, 77)
HSLhsl(345, 55%, 42%)
HSVhsv(345, 71%, 65%)
CMYKcmyk(0%, 70.9%, 53.3%, 35.3%)
CIE-LABlab(38.99, 49.67, 10.58)
CIE-LCHlch(38.99, 50.78, 12.02°)
OKLaboklab(49.36% 0.1507 0.0269)
OKLCHoklch(49.36% 0.153 10.1)
XYZxyz(17.9151, 10.6515, 8.1323)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5304D #30A588
analogous
#A53088 #A5304D #A54D30
triadic
#A5304D #4DA530 #304DA5
tetradic
#A5304D #88A530 #30A588 #4D30A5
square
#A5304D #88A530 #30A588 #4D30A5
split-complementary
#A5304D #30A54D #3088A5
monochromatic
#461421 #762237 #A5304D #CA4868 #D87890

Accessibility & contrast

On white

6.71
#A5304D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A5304D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5304D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5304D#FFFFFF#000000##FFFFFF
##A5304D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4D
Deuteranopia (green-blind)
#6B644A
Tritanopia (blue-blind)
#B4183C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5304d;
/* rgb */ color: rgb(165, 48, 77);
/* oklch */ color: oklch(49.4% 0.153 10.1);
Tailwind
colors: {
  custom: {
    50: '#c5717e',
    500: '#a5304d',
    950: '#000000',
  },
}
SCSS
$custom: #a5304d;
$custom-light: #c5717e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5304d",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 345.128,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.15304,
    "h": 10.1
  },
  "luminance": 0.10649
}

Semantic roles & 50–950 ramp

primary
#A5304D
secondary
#71C0AC
accent
#DEB94A
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5304D

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

Preview Lab → · Contrast checker → · Palette generator →

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