#A22540#A22540

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

Color values

HEX#A22540
RGBrgb(162, 37, 64)
HSLhsl(347, 63%, 39%)
HSVhsv(347, 77%, 64%)
CMYKcmyk(0%, 77.2%, 60.5%, 36.5%)
CIE-LABlab(36.70, 51.70, 15.65)
CIE-LCHlch(36.70, 54.02, 16.84°)
OKLaboklab(47.46% 0.1555 0.0385)
OKLCHoklch(47.46% 0.16 13.9)
XYZxyz(16.4889, 9.3771, 5.7912)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22540 #25A287
analogous
#A2257F #A22540 #A24925
triadic
#A22540 #40A225 #2540A2
tetradic
#A22540 #7FA225 #25A287 #4925A2
square
#A22540 #7FA225 #25A287 #4925A2
split-complementary
#A22540 #25A249 #257FA2
monochromatic
#3E0E19 #701A2C #A22540 #D13456 #DC657F

Accessibility & contrast

On white

7.30
#A22540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A22540
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22540#FFFFFF#000000##FFFFFF
##A225401.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484640
Deuteranopia (green-blind)
#67603D
Tritanopia (blue-blind)
#B20030
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22540;
/* rgb */ color: rgb(162, 37, 64);
/* oklch */ color: oklch(47.5% 0.160 13.9);
Tailwind
colors: {
  custom: {
    50: '#c46b74',
    500: '#a22540',
    950: '#000000',
  },
}
SCSS
$custom: #a22540;
$custom-light: #c46b74;
$custom-dark: #000000;
JSON
{
  "hex": "#a22540",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 347.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.16022,
    "h": 13.9
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#A22540
secondary
#61C2AD
accent
#E6C242
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22540

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

Preview Lab → · Contrast checker → · Palette generator →

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