#A22740#A22740

#A22740 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.6% C 0.158 H 14.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A22740
RGBrgb(162, 39, 64)
HSLhsl(348, 61%, 39%)
HSVhsv(348, 76%, 64%)
CMYKcmyk(0%, 75.9%, 60.5%, 36.5%)
CIE-LABlab(36.94, 51.04, 15.97)
CIE-LCHlch(36.94, 53.48, 17.37°)
OKLaboklab(47.64% 0.1534 0.0393)
OKLCHoklch(47.64% 0.158 14.4)
XYZxyz(16.5529, 9.5050, 5.8125)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22740 #27A289
analogous
#A2277E #A22740 #A24C27
triadic
#A22740 #40A227 #2740A2
tetradic
#A22740 #7EA227 #27A289 #4C27A2
square
#A22740 #7EA227 #27A289 #4C27A2
split-complementary
#A22740 #27A24C #277EA2
monochromatic
#3F0F19 #711B2D #A22740 #CF3756 #DB6980

Accessibility & contrast

On white

7.24
#A22740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A22740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22740
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22740#FFFFFF#000000##FFFFFF
##A227401.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#B20032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22740;
/* rgb */ color: rgb(162, 39, 64);
/* oklch */ color: oklch(47.6% 0.158 14.4);
Tailwind
colors: {
  custom: {
    50: '#c46c74',
    500: '#a22740',
    950: '#000000',
  },
}
SCSS
$custom: #a22740;
$custom-light: #c46c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a22740",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 347.805,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.15831,
    "h": 14.4
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#A22740
secondary
#64C1AE
accent
#E4C443
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22740

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

Preview Lab → · Contrast checker → · Palette generator →

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