#AF2A23#AF2A23

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

Color values

HEX#AF2A23
RGBrgb(175, 42, 35)
HSLhsl(3, 67%, 41%)
HSVhsv(3, 80%, 69%)
CMYKcmyk(0%, 76%, 80%, 31.4%)
CIE-LABlab(39.40, 52.59, 37.18)
CIE-LCHlch(39.40, 64.41, 35.26°)
OKLaboklab(49.79% 0.1505 0.0807)
OKLCHoklch(49.79% 0.171 28.2)
XYZxyz(18.8128, 10.8942, 2.7020)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A23 #23A8AF
analogous
#AF2362 #AF2A23 #AF7023
triadic
#AF2A23 #23AF2A #2A23AF
tetradic
#AF2A23 #62AF23 #23A8AF #7023AF
square
#AF2A23 #62AF23 #23A8AF #7023AF
split-complementary
#AF2A23 #23AF70 #2362AF
monochromatic
#49120F #7C1E19 #AF2A23 #D74038 #E1716B

Accessibility & contrast

On white

6.61
#AF2A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A23
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A23#FFFFFF#000000##FFFFFF
##AF2A231.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A21
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a23;
/* rgb */ color: rgb(175, 42, 35);
/* oklch */ color: oklch(49.8% 0.171 28.2);
Tailwind
colors: {
  custom: {
    50: '#d06f5f',
    500: '#af2a23',
    950: '#000000',
  },
}
SCSS
$custom: #af2a23;
$custom-light: #d06f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a23",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 3,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.17072,
    "h": 28.2
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#AF2A23
secondary
#66C3C7
accent
#E1EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2A23

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

Preview Lab → · Contrast checker → · Palette generator →

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