#AF2A1E#AF2A1E

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

Color values

HEX#AF2A1E
RGBrgb(175, 42, 30)
HSLhsl(5, 71%, 40%)
HSVhsv(5, 83%, 69%)
CMYKcmyk(0%, 76%, 82.9%, 31.4%)
CIE-LABlab(39.35, 52.44, 39.85)
CIE-LCHlch(39.35, 65.86, 37.23°)
OKLaboklab(49.74% 0.149 0.0847)
OKLCHoklch(49.74% 0.171 29.6)
XYZxyz(18.7438, 10.8666, 2.3386)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A1E #1EA3AF
analogous
#AF1E5A #AF2A1E #AF731E
triadic
#AF2A1E #1EAF2A #2A1EAF
tetradic
#AF2A1E #5AAF1E #1EA3AF #731EAF
square
#AF2A1E #5AAF1E #1EA3AF #731EAF
split-complementary
#AF2A1E #1EAF73 #1E5AAF
monochromatic
#47110C #7B1D15 #AF2A1E #DB3D2F #E46E63

Accessibility & contrast

On white

6.62
#AF2A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A1E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A1E#FFFFFF#000000##FFFFFF
##AF2A1E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1B
Deuteranopia (green-blind)
#746717
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a1e;
/* rgb */ color: rgb(175, 42, 30);
/* oklch */ color: oklch(49.7% 0.171 29.6);
Tailwind
colors: {
  custom: {
    50: '#d06f5c',
    500: '#af2a1e',
    950: '#000000',
  },
}
SCSS
$custom: #af2a1e;
$custom-light: #d06f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a1e",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 4.966,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.1714,
    "h": 29.6
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#AF2A1E
secondary
#60C0C9
accent
#DFED3A
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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