#AF2B24#AF2B24

#AF2B24 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 28.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2B24
RGBrgb(175, 43, 36)
HSLhsl(3, 66%, 41%)
HSVhsv(3, 79%, 69%)
CMYKcmyk(0%, 75.4%, 79.4%, 31.4%)
CIE-LABlab(39.53, 52.28, 36.76)
CIE-LCHlch(39.53, 63.91, 35.11°)
OKLaboklab(49.89% 0.1497 0.0801)
OKLCHoklch(49.89% 0.17 28.1)
XYZxyz(18.8638, 10.9721, 2.7933)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B24 #24A8AF
analogous
#AF2463 #AF2B24 #AF7124
triadic
#AF2B24 #24AF2B #2B24AF
tetradic
#AF2B24 #63AF24 #24A8AF #7124AF
square
#AF2B24 #63AF24 #24A8AF #7124AF
split-complementary
#AF2B24 #24AF71 #2463AF
monochromatic
#49120F #7C1F1A #AF2B24 #D6423A #E1726D

Accessibility & contrast

On white

6.58
#AF2B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B24
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B24#FFFFFF#000000##FFFFFF
##AF2B241.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B22
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b24;
/* rgb */ color: rgb(175, 43, 36);
/* oklch */ color: oklch(49.9% 0.170 28.1);
Tailwind
colors: {
  custom: {
    50: '#d06f60',
    500: '#af2b24',
    950: '#000000',
  },
}
SCSS
$custom: #af2b24;
$custom-light: #d06f60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b24",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 36
  },
  "hsl": {
    "h": 3.022,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.16976,
    "h": 28.1
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#AF2B24
secondary
#68C2C7
accent
#E0E93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2B24

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

Preview Lab → · Contrast checker → · Palette generator →

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