#AF2722#AF2722

#AF2722 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.173 H 27.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AF2722
RGBrgb(175, 39, 34)
HSLhsl(2, 67%, 41%)
HSVhsv(2, 81%, 69%)
CMYKcmyk(0%, 77.7%, 80.6%, 31.4%)
CIE-LABlab(39.04, 53.53, 37.38)
CIE-LCHlch(39.04, 65.29, 34.92°)
OKLaboklab(49.51% 0.1532 0.0807)
OKLCHoklch(49.51% 0.173 27.8)
XYZxyz(18.6957, 10.6835, 2.5908)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2722 #22AAAF
analogous
#AF2263 #AF2722 #AF6D22
triadic
#AF2722 #22AF27 #2722AF
tetradic
#AF2722 #63AF22 #22AAAF #6D22AF
square
#AF2722 #63AF22 #22AAAF #6D22AF
split-complementary
#AF2722 #22AF6D #2263AF
monochromatic
#49100E #7C1C18 #AF2722 #D83C36 #E26E69

Accessibility & contrast

On white

6.70
#AF2722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2722
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2722#FFFFFF#000000##FFFFFF
##AF27221.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524920
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2722;
/* rgb */ color: rgb(175, 39, 34);
/* oklch */ color: oklch(49.5% 0.173 27.8);
Tailwind
colors: {
  custom: {
    50: '#d06d5e',
    500: '#af2722',
    950: '#000000',
  },
}
SCSS
$custom: #af2722;
$custom-light: #d06d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2722",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 34
  },
  "hsl": {
    "h": 2.128,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.17319,
    "h": 27.8
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#AF2722
secondary
#65C4C8
accent
#E4EA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2722

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

Preview Lab → · Contrast checker → · Palette generator →

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