#A02138#A02138

#A02138 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.6% C 0.162 H 16.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A02138
RGBrgb(160, 33, 56)
HSLhsl(349, 66%, 38%)
HSVhsv(349, 79%, 63%)
CMYKcmyk(0%, 79.4%, 65%, 37.3%)
CIE-LABlab(35.69, 51.86, 19.37)
CIE-LCHlch(35.69, 55.36, 20.48°)
OKLaboklab(46.59% 0.1547 0.0465)
OKLCHoklch(46.59% 0.162 16.7)
XYZxyz(15.7566, 8.8492, 4.6190)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02138 #21A089
analogous
#A02177 #A02138 #A04A21
triadic
#A02138 #38A021 #2138A0
tetradic
#A02138 #77A021 #21A089 #4A21A0
square
#A02138 #77A021 #21A089 #4A21A0
split-complementary
#A02138 #21A04A #2177A0
monochromatic
#3B0C14 #6D1726 #A02138 #D32B4A #DE5E75

Accessibility & contrast

On white

7.58
#A02138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#A02138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02138
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02138#FFFFFF#000000##FFFFFF
##A021381.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#B0002B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02138;
/* rgb */ color: rgb(160, 33, 56);
/* oklch */ color: oklch(46.6% 0.162 16.7);
Tailwind
colors: {
  custom: {
    50: '#c3696e',
    500: '#a02138',
    950: '#000000',
  },
}
SCSS
$custom: #a02138;
$custom-light: #c3696e;
$custom-dark: #000000;
JSON
{
  "hex": "#a02138",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 349.134,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.16155,
    "h": 16.7
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#A02138
secondary
#5BC2AF
accent
#E9CA3F
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #A02138

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

Preview Lab → · Contrast checker → · Palette generator →

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