#A22733#A22733

#A22733 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.4% C 0.158 H 20.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A22733
RGBrgb(162, 39, 51)
HSLhsl(354, 61%, 39%)
HSVhsv(354, 76%, 64%)
CMYKcmyk(0%, 75.9%, 68.5%, 36.5%)
CIE-LABlab(36.69, 50.23, 23.89)
CIE-LCHlch(36.69, 55.63, 25.44°)
OKLaboklab(47.38% 0.1482 0.0561)
OKLCHoklch(47.38% 0.158 20.7)
XYZxyz(16.2251, 9.3739, 4.0863)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22733 #27A296
analogous
#A22771 #A22733 #A25827
triadic
#A22733 #33A227 #2733A2
tetradic
#A22733 #71A227 #27A296 #5827A2
square
#A22733 #71A227 #27A296 #5827A2
split-complementary
#A22733 #27A258 #2771A2
monochromatic
#3F0F14 #711B23 #A22733 #CF3746 #DB6974

Accessibility & contrast

On white

7.31
#A22733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A22733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22733
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22733#FFFFFF#000000##FFFFFF
##A227331.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4632
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#B2002D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22733;
/* rgb */ color: rgb(162, 39, 51);
/* oklch */ color: oklch(47.4% 0.158 20.7);
Tailwind
colors: {
  custom: {
    50: '#c56c6a',
    500: '#a22733',
    950: '#000000',
  },
}
SCSS
$custom: #a22733;
$custom-light: #c56c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a22733",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 51
  },
  "hsl": {
    "h": 354.146,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.1584,
    "h": 20.7
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#A22733
secondary
#64C1B8
accent
#E4D543
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A22733

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

Preview Lab → · Contrast checker → · Palette generator →

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