#AF2A26#AF2A26

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

Color values

HEX#AF2A26
RGBrgb(175, 42, 38)
HSLhsl(2, 64%, 42%)
HSVhsv(2, 78%, 69%)
CMYKcmyk(0%, 76%, 78.3%, 31.4%)
CIE-LABlab(39.43, 52.69, 35.53)
CIE-LCHlch(39.43, 63.55, 33.99°)
OKLaboklab(49.82% 0.1514 0.078)
OKLCHoklch(49.82% 0.17 27.3)
XYZxyz(18.8593, 10.9128, 2.9467)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A26 #26ABAF
analogous
#AF2667 #AF2A26 #AF6F26
triadic
#AF2A26 #26AF2A #2A26AF
tetradic
#AF2A26 #67AF26 #26ABAF #6F26AF
square
#AF2A26 #67AF26 #26ABAF #6F26AF
split-complementary
#AF2A26 #26AF6F #2667AF
monochromatic
#4A1210 #7D1E1B #AF2A26 #D5423D #E07370

Accessibility & contrast

On white

6.60
#AF2A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A26
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A26#FFFFFF#000000##FFFFFF
##AF2A261.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A24
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a26;
/* rgb */ color: rgb(175, 42, 38);
/* oklch */ color: oklch(49.8% 0.170 27.3);
Tailwind
colors: {
  custom: {
    50: '#d06f61',
    500: '#af2a26',
    950: '#000000',
  },
}
SCSS
$custom: #af2a26;
$custom-light: #d06f61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a26",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 1.752,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.1703,
    "h": 27.3
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#AF2A26
secondary
#6AC4C7
accent
#E2E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2A26

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

Preview Lab → · Contrast checker → · Palette generator →

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