#A02238#A02238

#A02238 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.7% C 0.161 H 16.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A02238
RGBrgb(160, 34, 56)
HSLhsl(350, 65%, 38%)
HSVhsv(350, 79%, 63%)
CMYKcmyk(0%, 78.8%, 65%, 37.3%)
CIE-LABlab(35.80, 51.55, 19.51)
CIE-LCHlch(35.80, 55.12, 20.73°)
OKLaboklab(46.67% 0.1537 0.0468)
OKLCHoklch(46.67% 0.161 16.9)
XYZxyz(15.7847, 8.9055, 4.6284)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02238 #22A08A
analogous
#A02277 #A02238 #A04B22
triadic
#A02238 #38A022 #2238A0
tetradic
#A02238 #77A022 #22A08A #4B22A0
square
#A02238 #77A022 #22A08A #4B22A0
split-complementary
#A02238 #22A04B #2277A0
monochromatic
#3B0D15 #6E1726 #A02238 #D22D4A #DD5F75

Accessibility & contrast

On white

7.55
#A02238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#A02238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02238
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02238#FFFFFF#000000##FFFFFF
##A022381.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474338
Deuteranopia (green-blind)
#665E34
Tritanopia (blue-blind)
#B0002C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02238;
/* rgb */ color: rgb(160, 34, 56);
/* oklch */ color: oklch(46.7% 0.161 16.9);
Tailwind
colors: {
  custom: {
    50: '#c36a6e',
    500: '#a02238',
    950: '#000000',
  },
}
SCSS
$custom: #a02238;
$custom-light: #c36a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a02238",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 349.524,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46674,
    "c": 0.1607,
    "h": 16.9
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#A02238
secondary
#5CC2B0
accent
#E8CB40
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #A02238

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

Preview Lab → · Contrast checker → · Palette generator →

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