#A02340#A02340

#A02340 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.9% C 0.160 H 13.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A02340
RGBrgb(160, 35, 64)
HSLhsl(346, 64%, 38%)
HSVhsv(346, 78%, 63%)
CMYKcmyk(0%, 78.1%, 60%, 37.3%)
CIE-LABlab(36.08, 51.75, 14.74)
CIE-LCHlch(36.08, 53.81, 15.90°)
OKLaboklab(46.93% 0.1559 0.0364)
OKLCHoklch(46.93% 0.16 13.1)
XYZxyz(16.0253, 9.0482, 5.7521)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02340 #23A083
analogous
#A0237E #A02340 #A04423
triadic
#A02340 #40A023 #2340A0
tetradic
#A02340 #7EA023 #23A083 #4423A0
square
#A02340 #7EA023 #23A083 #4423A0
split-complementary
#A02340 #23A044 #237EA0
monochromatic
#3C0D18 #6E182C #A02340 #D12F54 #DC617E

Accessibility & contrast

On white

7.48
#A02340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A02340
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02340#FFFFFF#000000##FFFFFF
##A023401.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464440
Deuteranopia (green-blind)
#665E3D
Tritanopia (blue-blind)
#AF002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02340;
/* rgb */ color: rgb(160, 35, 64);
/* oklch */ color: oklch(46.9% 0.160 13.1);
Tailwind
colors: {
  custom: {
    50: '#c36a74',
    500: '#a02340',
    950: '#000000',
  },
}
SCSS
$custom: #a02340;
$custom-light: #c36a74;
$custom-dark: #000000;
JSON
{
  "hex": "#a02340",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 346.08,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.16014,
    "h": 13.1
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#A02340
secondary
#5DC1AA
accent
#E7C041
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02340

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

Preview Lab → · Contrast checker → · Palette generator →

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