#AF2C22#AF2C22

#AF2C22 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 29.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2C22
RGBrgb(175, 44, 34)
HSLhsl(4, 67%, 41%)
HSVhsv(4, 81%, 69%)
CMYKcmyk(0%, 74.9%, 80.6%, 31.4%)
CIE-LABlab(39.64, 51.87, 37.97)
CIE-LCHlch(39.64, 64.29, 36.20°)
OKLaboklab(49.96% 0.148 0.0821)
OKLCHoklch(49.96% 0.169 29)
XYZxyz(18.8709, 11.0338, 2.6492)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C22 #22A5AF
analogous
#AF225E #AF2C22 #AF7222
triadic
#AF2C22 #22AF2C #2C22AF
tetradic
#AF2C22 #5EAF22 #22A5AF #7222AF
square
#AF2C22 #5EAF22 #22A5AF #7222AF
split-complementary
#AF2C22 #22AF72 #225EAF
monochromatic
#49120E #7C1F18 #AF2C22 #D84236 #E27269

Accessibility & contrast

On white

6.55
#AF2C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C22
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C22#FFFFFF#000000##FFFFFF
##AF2C221.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2c22;
/* rgb */ color: rgb(175, 44, 34);
/* oklch */ color: oklch(50.0% 0.169 29.0);
Tailwind
colors: {
  custom: {
    50: '#d06f5e',
    500: '#af2c22',
    950: '#000000',
  },
}
SCSS
$custom: #af2c22;
$custom-light: #d06f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c22",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 4.255,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.16923,
    "h": 29
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C22

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

Preview Lab → · Contrast checker → · Palette generator →

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