#A02842#A02842

#A02842 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.4% C 0.155 H 13.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A02842
RGBrgb(160, 40, 66)
HSLhsl(347, 60%, 39%)
HSVhsv(347, 75%, 63%)
CMYKcmyk(0%, 75%, 58.8%, 37.3%)
CIE-LABlab(36.72, 50.22, 14.33)
CIE-LCHlch(36.72, 52.22, 15.92°)
OKLaboklab(47.42% 0.1514 0.0356)
OKLCHoklch(47.42% 0.155 13.2)
XYZxyz(16.2410, 9.3868, 6.1098)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02842 #28A086
analogous
#A0287E #A02842 #A04A28
triadic
#A02842 #42A028 #2842A0
tetradic
#A02842 #7EA028 #28A086 #4A28A0
square
#A02842 #7EA028 #28A086 #4A28A0
split-complementary
#A02842 #28A04A #287EA0
monochromatic
#3E101A #6F1C2E #A02842 #CD3858 #D96981

Accessibility & contrast

On white

7.30
#A02842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A02842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02842
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02842#FFFFFF#000000##FFFFFF
##A028421.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484742
Deuteranopia (green-blind)
#675F3F
Tritanopia (blue-blind)
#AF0133
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02842;
/* rgb */ color: rgb(160, 40, 66);
/* oklch */ color: oklch(47.4% 0.155 13.2);
Tailwind
colors: {
  custom: {
    50: '#c26c76',
    500: '#a02842',
    950: '#000000',
  },
}
SCSS
$custom: #a02842;
$custom-light: #c26c76;
$custom-dark: #000000;
JSON
{
  "hex": "#a02842",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 347,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.15548,
    "h": 13.2
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#A02842
secondary
#64C0AC
accent
#E3C145
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02842

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

Preview Lab → · Contrast checker → · Palette generator →

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