#AF2A22#AF2A22

#AF2A22 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 28.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF2A22
RGBrgb(175, 42, 34)
HSLhsl(3, 67%, 41%)
HSVhsv(3, 81%, 69%)
CMYKcmyk(0%, 76%, 80.6%, 31.4%)
CIE-LABlab(39.39, 52.56, 37.73)
CIE-LCHlch(39.39, 64.70, 35.67°)
OKLaboklab(49.77% 0.1502 0.0815)
OKLCHoklch(49.77% 0.171 28.5)
XYZxyz(18.7982, 10.8884, 2.6249)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A22 #22A7AF
analogous
#AF2260 #AF2A22 #AF7022
triadic
#AF2A22 #22AF2A #2A22AF
tetradic
#AF2A22 #60AF22 #22A7AF #7022AF
square
#AF2A22 #60AF22 #22A7AF #7022AF
split-complementary
#AF2A22 #22AF70 #2260AF
monochromatic
#49110E #7C1E18 #AF2A22 #D83F36 #E27069

Accessibility & contrast

On white

6.61
#AF2A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A22
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A22#FFFFFF#000000##FFFFFF
##AF2A221.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a22;
/* rgb */ color: rgb(175, 42, 34);
/* oklch */ color: oklch(49.8% 0.171 28.5);
Tailwind
colors: {
  custom: {
    50: '#d06f5e',
    500: '#af2a22',
    950: '#000000',
  },
}
SCSS
$custom: #af2a22;
$custom-light: #d06f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a22",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 3.404,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.17085,
    "h": 28.5
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#AF2A22
secondary
#65C2C8
accent
#E1EA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2A22

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

Preview Lab → · Contrast checker → · Palette generator →

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