#AF2724#AF2724

#AF2724 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.173 H 27.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AF2724
RGBrgb(175, 39, 36)
HSLhsl(1, 66%, 41%)
HSVhsv(1, 79%, 69%)
CMYKcmyk(0%, 77.7%, 79.4%, 31.4%)
CIE-LABlab(39.06, 53.60, 36.28)
CIE-LCHlch(39.06, 64.72, 34.09°)
OKLaboklab(49.54% 0.1538 0.079)
OKLCHoklch(49.54% 0.173 27.2)
XYZxyz(18.7254, 10.6954, 2.7472)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2724 #24ACAF
analogous
#AF2467 #AF2724 #AF6D24
triadic
#AF2724 #24AF27 #2724AF
tetradic
#AF2724 #67AF24 #24ACAF #6D24AF
square
#AF2724 #67AF24 #24ACAF #6D24AF
split-complementary
#AF2724 #24AF6D #2467AF
monochromatic
#49100F #7C1C1A #AF2724 #D63D3A #E16F6D

Accessibility & contrast

On white

6.69
#AF2724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2724
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2724#FFFFFF#000000##FFFFFF
##AF27241.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514922
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2724;
/* rgb */ color: rgb(175, 39, 36);
/* oklch */ color: oklch(49.5% 0.173 27.2);
Tailwind
colors: {
  custom: {
    50: '#d06d5f',
    500: '#af2724',
    950: '#000000',
  },
}
SCSS
$custom: #af2724;
$custom-light: #d06d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2724",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 36
  },
  "hsl": {
    "h": 1.295,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.17294,
    "h": 27.2
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#AF2724
secondary
#68C5C7
accent
#E5E93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2724

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

Preview Lab → · Contrast checker → · Palette generator →

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