#A02838#A02838

#A02838 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.2% C 0.155 H 18.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A02838
RGBrgb(160, 40, 56)
HSLhsl(352, 60%, 39%)
HSVhsv(352, 75%, 63%)
CMYKcmyk(0%, 75%, 65%, 37.3%)
CIE-LABlab(36.52, 49.55, 20.43)
CIE-LCHlch(36.52, 53.60, 22.41°)
OKLaboklab(47.2% 0.1473 0.0489)
OKLCHoklch(47.2% 0.155 18.4)
XYZxyz(15.9715, 9.2791, 4.6907)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02838 #28A090
analogous
#A02874 #A02838 #A05428
triadic
#A02838 #38A028 #2838A0
tetradic
#A02838 #74A028 #28A090 #5428A0
square
#A02838 #74A028 #28A090 #5428A0
split-complementary
#A02838 #28A054 #2874A0
monochromatic
#3E1016 #6F1C27 #A02838 #CD384C #D96978

Accessibility & contrast

On white

7.35
#A02838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A02838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02838
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02838#FFFFFF#000000##FFFFFF
##A028381.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4638
Deuteranopia (green-blind)
#685F35
Tritanopia (blue-blind)
#B0002F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02838;
/* rgb */ color: rgb(160, 40, 56);
/* oklch */ color: oklch(47.2% 0.155 18.4);
Tailwind
colors: {
  custom: {
    50: '#c36c6e',
    500: '#a02838',
    950: '#000000',
  },
}
SCSS
$custom: #a02838;
$custom-light: #c36c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a02838",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.15523,
    "h": 18.4
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#A02838
secondary
#64C0B4
accent
#E3CE45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #A02838

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

Preview Lab → · Contrast checker → · Palette generator →

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