#AF2D24#AF2D24

#AF2D24 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 28.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2D24
RGBrgb(175, 45, 36)
HSLhsl(4, 66%, 41%)
HSVhsv(4, 79%, 69%)
CMYKcmyk(0%, 74.3%, 79.4%, 31.4%)
CIE-LABlab(39.78, 51.59, 37.02)
CIE-LCHlch(39.78, 63.50, 35.66°)
OKLaboklab(50.07% 0.1475 0.0806)
OKLCHoklch(50.07% 0.168 28.7)
XYZxyz(18.9383, 11.1211, 2.8181)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D24 #24A6AF
analogous
#AF2461 #AF2D24 #AF7324
triadic
#AF2D24 #24AF2D #2D24AF
tetradic
#AF2D24 #61AF24 #24A6AF #7324AF
square
#AF2D24 #61AF24 #24A6AF #7324AF
split-complementary
#AF2D24 #24AF73 #2461AF
monochromatic
#49130F #7C201A #AF2D24 #D6443A #E1746D

Accessibility & contrast

On white

6.51
#AF2D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D24
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D24#FFFFFF#000000##FFFFFF
##AF2D241.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C22
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d24;
/* rgb */ color: rgb(175, 45, 36);
/* oklch */ color: oklch(50.1% 0.168 28.7);
Tailwind
colors: {
  custom: {
    50: '#d07060',
    500: '#af2d24',
    950: '#000000',
  },
}
SCSS
$custom: #af2d24;
$custom-light: #d07060;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d24",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 36
  },
  "hsl": {
    "h": 3.885,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.16811,
    "h": 28.7
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#AF2D24
secondary
#68C1C7
accent
#DEE93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2D24

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

Preview Lab → · Contrast checker → · Palette generator →

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