#AF2B26#AF2B26

#AF2B26 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.169 H 27.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF2B26
RGBrgb(175, 43, 38)
HSLhsl(2, 64%, 42%)
HSVhsv(2, 78%, 69%)
CMYKcmyk(0%, 75.4%, 78.3%, 31.4%)
CIE-LABlab(39.55, 52.36, 35.66)
CIE-LCHlch(39.55, 63.34, 34.26°)
OKLaboklab(49.91% 0.1503 0.0783)
OKLCHoklch(49.91% 0.169 27.5)
XYZxyz(18.8952, 10.9846, 2.9587)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B26 #26AAAF
analogous
#AF2666 #AF2B26 #AF7026
triadic
#AF2B26 #26AF2B #2B26AF
tetradic
#AF2B26 #66AF26 #26AAAF #7026AF
square
#AF2B26 #66AF26 #26AAAF #7026AF
split-complementary
#AF2B26 #26AF70 #2666AF
monochromatic
#4A1210 #7D1F1B #AF2B26 #D5433D #E07470

Accessibility & contrast

On white

6.57
#AF2B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B26
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B26#FFFFFF#000000##FFFFFF
##AF2B261.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b26;
/* rgb */ color: rgb(175, 43, 38);
/* oklch */ color: oklch(49.9% 0.169 27.5);
Tailwind
colors: {
  custom: {
    50: '#d06f61',
    500: '#af2b26',
    950: '#000000',
  },
}
SCSS
$custom: #af2b26;
$custom-light: #d06f61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b26",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 38
  },
  "hsl": {
    "h": 2.19,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.16949,
    "h": 27.5
  },
  "luminance": 0.10982
}

Semantic roles & 50–950 ramp

primary
#AF2B26
secondary
#6AC3C7
accent
#E1E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2B26

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

Preview Lab → · Contrast checker → · Palette generator →

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