#AF2B22#AF2B22

#AF2B22 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 28.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2B22
RGBrgb(175, 43, 34)
HSLhsl(4, 67%, 41%)
HSVhsv(4, 81%, 69%)
CMYKcmyk(0%, 75.4%, 80.6%, 31.4%)
CIE-LABlab(39.51, 52.22, 37.85)
CIE-LCHlch(39.51, 64.49, 35.94°)
OKLaboklab(49.86% 0.1491 0.0818)
OKLCHoklch(49.86% 0.17 28.7)
XYZxyz(18.8341, 10.9602, 2.6369)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B22 #22A6AF
analogous
#AF225F #AF2B22 #AF7122
triadic
#AF2B22 #22AF2B #2B22AF
tetradic
#AF2B22 #5FAF22 #22A6AF #7122AF
square
#AF2B22 #5FAF22 #22A6AF #7122AF
split-complementary
#AF2B22 #22AF71 #225FAF
monochromatic
#49120E #7C1E18 #AF2B22 #D84136 #E27169

Accessibility & contrast

On white

6.58
#AF2B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B22
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B22#FFFFFF#000000##FFFFFF
##AF2B221.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b22;
/* rgb */ color: rgb(175, 43, 34);
/* oklch */ color: oklch(49.9% 0.170 28.7);
Tailwind
colors: {
  custom: {
    50: '#d06f5e',
    500: '#af2b22',
    950: '#000000',
  },
}
SCSS
$custom: #af2b22;
$custom-light: #d06f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b22",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 34
  },
  "hsl": {
    "h": 3.83,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.17005,
    "h": 28.7
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#AF2B22
secondary
#65C1C8
accent
#DFEA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2B22

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

Preview Lab → · Contrast checker → · Palette generator →

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