#AF2B2A#AF2B2A

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

Color values

HEX#AF2B2A
RGBrgb(175, 43, 42)
HSLhsl(0, 61%, 43%)
HSVhsv(0, 76%, 69%)
CMYKcmyk(0%, 75.4%, 76%, 31.4%)
CIE-LABlab(39.60, 52.51, 33.40)
CIE-LCHlch(39.60, 62.23, 32.46°)
OKLaboklab(49.96% 0.1517 0.0745)
OKLCHoklch(49.96% 0.169 26.1)
XYZxyz(18.9632, 11.0118, 3.3170)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B2A #2AAEAF
analogous
#AF2A6C #AF2B2A #AF6D2A
triadic
#AF2B2A #2AAF2B #2B2AAF
tetradic
#AF2B2A #6CAF2A #2AAEAF #6D2AAF
square
#AF2B2A #6CAF2A #2AAEAF #6D2AAF
split-complementary
#AF2B2A #2AAF6D #2A6CAF
monochromatic
#4C1312 #7E1F1E #AF2B2A #D24544 #DE7675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B2A#FFFFFF#000000##FFFFFF
##AF2B2A1.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)
#534B28
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b2a;
/* rgb */ color: rgb(175, 43, 42);
/* oklch */ color: oklch(50.0% 0.169 26.1);
Tailwind
colors: {
  custom: {
    50: '#d06f64',
    500: '#af2b2a',
    950: '#000000',
  },
}
SCSS
$custom: #af2b2a;
$custom-light: #d06f64;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b2a",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 42
  },
  "hsl": {
    "h": 0.451,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49958,
    "c": 0.16896,
    "h": 26.1
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#AF2B2A
secondary
#6FC5C6
accent
#E3E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF2B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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