#AF2B2B#AF2B2B

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

Color values

HEX#AF2B2B
RGBrgb(175, 43, 43)
HSLhsl(0, 61%, 43%)
HSVhsv(0, 75%, 69%)
CMYKcmyk(0%, 75.4%, 75.4%, 31.4%)
CIE-LABlab(39.61, 52.55, 32.83)
CIE-LCHlch(39.61, 61.96, 31.99°)
OKLaboklab(49.97% 0.152 0.0735)
OKLCHoklch(49.97% 0.169 25.8)
XYZxyz(18.9813, 11.0191, 3.4125)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B2B #2BAFAF
analogous
#AF2B6D #AF2B2B #AF6D2B
triadic
#AF2B2B #2BAF2B #2B2BAF
tetradic
#AF2B2B #6DAF2B #2BAFAF #6D2BAF
square
#AF2B2B #6DAF2B #2BAFAF #6D2BAF
split-complementary
#AF2B2B #2BAF6D #2B6DAF
monochromatic
#4D1313 #7E1F1F #AF2B2B #D14646 #DE7777

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B2B#FFFFFF#000000##FFFFFF
##AF2B2B1.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)
#534B29
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b2b;
/* rgb */ color: rgb(175, 43, 43);
/* oklch */ color: oklch(50.0% 0.169 25.8);
Tailwind
colors: {
  custom: {
    50: '#cf6f65',
    500: '#af2b2b',
    950: '#000000',
  },
}
SCSS
$custom: #af2b2b;
$custom-light: #cf6f65;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b2b",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49971,
    "c": 0.16884,
    "h": 25.8
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#AF2B2B
secondary
#70C5C5
accent
#E4E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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