#AF2524#AF2524

#AF2524 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 26.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AF2524
RGBrgb(175, 37, 36)
HSLhsl(0, 66%, 41%)
HSVhsv(0, 79%, 69%)
CMYKcmyk(0%, 78.9%, 79.4%, 31.4%)
CIE-LABlab(38.84, 54.22, 36.05)
CIE-LCHlch(38.84, 65.11, 33.62°)
OKLaboklab(49.37% 0.1558 0.0785)
OKLCHoklch(49.37% 0.174 26.7)
XYZxyz(18.6615, 10.5675, 2.7259)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2524 #24AEAF
analogous
#AF2469 #AF2524 #AF6B24
triadic
#AF2524 #24AF25 #2524AF
tetradic
#AF2524 #69AF24 #24AEAF #6B24AF
square
#AF2524 #69AF24 #24AEAF #6B24AF
split-complementary
#AF2524 #24AF6B #2469AF
monochromatic
#49100F #7C1A1A #AF2524 #D63B3A #E16D6D

Accessibility & contrast

On white

6.75
#AF2524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF2524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2524
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2524#FFFFFF#000000##FFFFFF
##AF25241.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504822
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2524;
/* rgb */ color: rgb(175, 37, 36);
/* oklch */ color: oklch(49.4% 0.174 26.7);
Tailwind
colors: {
  custom: {
    50: '#d06d5f',
    500: '#af2524',
    950: '#000000',
  },
}
SCSS
$custom: #af2524;
$custom-light: #d06d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2524",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 36
  },
  "hsl": {
    "h": 0.432,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.17445,
    "h": 26.7
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#AF2524
secondary
#68C6C7
accent
#E8E93F
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2524

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

Preview Lab → · Contrast checker → · Palette generator →

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