#AF2B29#AF2B29

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

Color values

HEX#AF2B29
RGBrgb(175, 43, 41)
HSLhsl(1, 62%, 42%)
HSVhsv(1, 77%, 69%)
CMYKcmyk(0%, 75.4%, 76.6%, 31.4%)
CIE-LABlab(39.59, 52.47, 33.97)
CIE-LCHlch(39.59, 62.50, 32.92°)
OKLaboklab(49.95% 0.1513 0.0754)
OKLCHoklch(49.95% 0.169 26.5)
XYZxyz(18.9455, 11.0048, 3.2240)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B29 #29ADAF
analogous
#AF296A #AF2B29 #AF6E29
triadic
#AF2B29 #29AF2B #2B29AF
tetradic
#AF2B29 #6AAF29 #29ADAF #6E29AF
square
#AF2B29 #6AAF29 #29ADAF #6E29AF
split-complementary
#AF2B29 #29AF6E #296AAF
monochromatic
#4C1312 #7D1F1D #AF2B29 #D34542 #DE7674

Accessibility & contrast

On white

6.56
#AF2B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2B29
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B29#FFFFFF#000000##FFFFFF
##AF2B291.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b29;
/* rgb */ color: rgb(175, 43, 41);
/* oklch */ color: oklch(49.9% 0.169 26.5);
Tailwind
colors: {
  custom: {
    50: '#d06f63',
    500: '#af2b29',
    950: '#000000',
  },
}
SCSS
$custom: #af2b29;
$custom-light: #d06f63;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b29",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 41
  },
  "hsl": {
    "h": 0.896,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.16909,
    "h": 26.5
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#AF2B29
secondary
#6EC4C6
accent
#E3E543
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2B29

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

Preview Lab → · Contrast checker → · Palette generator →

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