#A22834#A22834

#A22834 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 20.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A22834
RGBrgb(162, 40, 52)
HSLhsl(354, 60%, 40%)
HSVhsv(354, 75%, 64%)
CMYKcmyk(0%, 75.3%, 67.9%, 36.5%)
CIE-LABlab(36.84, 49.94, 23.44)
CIE-LCHlch(36.84, 55.17, 25.14°)
OKLaboklab(47.49% 0.1474 0.0552)
OKLCHoklch(47.49% 0.157 20.5)
XYZxyz(16.2807, 9.4493, 4.2148)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22834 #28A296
analogous
#A22871 #A22834 #A25928
triadic
#A22834 #34A228 #2834A2
tetradic
#A22834 #71A228 #28A296 #5928A2
square
#A22834 #71A228 #28A296 #5928A2
split-complementary
#A22834 #28A259 #2871A2
monochromatic
#401014 #711C24 #A22834 #CE3948 #DA6A75

Accessibility & contrast

On white

7.27
#A22834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A22834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22834
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22834#FFFFFF#000000##FFFFFF
##A228341.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4633
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#B2002E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22834;
/* rgb */ color: rgb(162, 40, 52);
/* oklch */ color: oklch(47.5% 0.157 20.5);
Tailwind
colors: {
  custom: {
    50: '#c56c6b',
    500: '#a22834',
    950: '#000000',
  },
}
SCSS
$custom: #a22834;
$custom-light: #c56c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a22834",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 354.098,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.15743,
    "h": 20.5
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#A22834
secondary
#65C1B8
accent
#E4D444
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A22834

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

Preview Lab → · Contrast checker → · Palette generator →

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