#A02342#A02342

#A02342 is a mid, vivid red. Relative luminance 0.091; OKLCH L 47.0% C 0.160 H 12.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A02342
RGBrgb(160, 35, 66)
HSLhsl(345, 64%, 38%)
HSVhsv(345, 78%, 63%)
CMYKcmyk(0%, 78.1%, 58.8%, 37.3%)
CIE-LABlab(36.12, 51.89, 13.52)
CIE-LCHlch(36.12, 53.63, 14.60°)
OKLaboklab(46.98% 0.1568 0.0336)
OKLCHoklch(46.98% 0.16 12.1)
XYZxyz(16.0832, 9.0713, 6.0573)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02342 #23A081
analogous
#A02380 #A02342 #A04223
triadic
#A02342 #42A023 #2342A0
tetradic
#A02342 #80A023 #23A081 #4223A0
square
#A02342 #80A023 #23A081 #4223A0
split-complementary
#A02342 #23A042 #2380A0
monochromatic
#3C0D19 #6E182D #A02342 #D12F57 #DC6180

Accessibility & contrast

On white

7.46
#A02342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A02342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02342
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02342#FFFFFF#000000##FFFFFF
##A023421.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454542
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#AF0030
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02342;
/* rgb */ color: rgb(160, 35, 66);
/* oklch */ color: oklch(47.0% 0.160 12.1);
Tailwind
colors: {
  custom: {
    50: '#c36a76',
    500: '#a02342',
    950: '#000000',
  },
}
SCSS
$custom: #a02342;
$custom-light: #c36a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a02342",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 345.12,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46977,
    "c": 0.16032,
    "h": 12.1
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#A02342
secondary
#5DC1A9
accent
#E7BE41
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02342

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

Preview Lab → · Contrast checker → · Palette generator →

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