#AF2E26#AF2E26

#AF2E26 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 28.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2E26
RGBrgb(175, 46, 38)
HSLhsl(4, 64%, 42%)
HSVhsv(4, 78%, 69%)
CMYKcmyk(0%, 73.7%, 78.3%, 31.4%)
CIE-LABlab(39.93, 51.30, 36.05)
CIE-LCHlch(39.93, 62.71, 35.10°)
OKLaboklab(50.19% 0.147 0.0791)
OKLCHoklch(50.19% 0.167 28.3)
XYZxyz(19.0083, 11.2108, 2.9964)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E26 #26A7AF
analogous
#AF2662 #AF2E26 #AF7326
triadic
#AF2E26 #26AF2E #2E26AF
tetradic
#AF2E26 #62AF26 #26A7AF #7326AF
square
#AF2E26 #62AF26 #26A7AF #7326AF
split-complementary
#AF2E26 #26AF73 #2662AF
monochromatic
#4A1410 #7D211B #AF2E26 #D5463D #E07670

Accessibility & contrast

On white

6.48
#AF2E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E26
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E26#FFFFFF#000000##FFFFFF
##AF2E261.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C24
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e26;
/* rgb */ color: rgb(175, 46, 38);
/* oklch */ color: oklch(50.2% 0.167 28.3);
Tailwind
colors: {
  custom: {
    50: '#d07061',
    500: '#af2e26',
    950: '#000000',
  },
}
SCSS
$custom: #af2e26;
$custom-light: #d07061;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e26",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 3.504,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.16698,
    "h": 28.3
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#AF2E26
secondary
#6AC1C7
accent
#DEE740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2E26

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

Preview Lab → · Contrast checker → · Palette generator →

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