#AF2922#AF2922

#AF2922 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 28.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF2922
RGBrgb(175, 41, 34)
HSLhsl(3, 67%, 41%)
HSVhsv(3, 81%, 69%)
CMYKcmyk(0%, 76.6%, 80.6%, 31.4%)
CIE-LABlab(39.27, 52.89, 37.61)
CIE-LCHlch(39.27, 64.90, 35.42°)
OKLaboklab(49.69% 0.1512 0.0813)
OKLCHoklch(49.69% 0.172 28.3)
XYZxyz(18.7631, 10.8183, 2.6133)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2922 #22A8AF
analogous
#AF2261 #AF2922 #AF6F22
triadic
#AF2922 #22AF29 #2922AF
tetradic
#AF2922 #61AF22 #22A8AF #6F22AF
square
#AF2922 #61AF22 #22A8AF #6F22AF
split-complementary
#AF2922 #22AF6F #2261AF
monochromatic
#49110E #7C1D18 #AF2922 #D83E36 #E26F69

Accessibility & contrast

On white

6.64
#AF2922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF2922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2922
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2922#FFFFFF#000000##FFFFFF
##AF29221.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A20
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2922;
/* rgb */ color: rgb(175, 41, 34);
/* oklch */ color: oklch(49.7% 0.172 28.3);
Tailwind
colors: {
  custom: {
    50: '#d06e5e',
    500: '#af2922',
    950: '#000000',
  },
}
SCSS
$custom: #af2922;
$custom-light: #d06e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2922",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 34
  },
  "hsl": {
    "h": 2.979,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.17164,
    "h": 28.3
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#AF2922
secondary
#65C3C8
accent
#E2EA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2922

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

Preview Lab → · Contrast checker → · Palette generator →

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