#AF2A2B#AF2A2B

#AF2A2B is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 25.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AF2A2B
RGBrgb(175, 42, 43)
HSLhsl(360, 61%, 43%)
HSVhsv(360, 76%, 69%)
CMYKcmyk(0%, 76%, 75.4%, 31.4%)
CIE-LABlab(39.49, 52.89, 32.69)
CIE-LCHlch(39.49, 62.17, 31.72°)
OKLaboklab(49.88% 0.1531 0.0732)
OKLCHoklch(49.88% 0.17 25.5)
XYZxyz(18.9454, 10.9473, 3.4005)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A2B #2AAFAE
analogous
#AF2A6D #AF2A2B #AF6C2A
triadic
#AF2A2B #2BAF2A #2A2BAF
tetradic
#AF2A2B #6DAF2A #2AAFAE #6C2AAF
square
#AF2A2B #6DAF2A #2AAFAE #6C2AAF
split-complementary
#AF2A2B #2AAF6C #2A6DAF
monochromatic
#4C1213 #7E1E1F #AF2A2B #D24445 #DE7576

Accessibility & contrast

On white

6.59
#AF2A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A2B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A2B#FFFFFF#000000##FFFFFF
##AF2A2B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a2b;
/* rgb */ color: rgb(175, 42, 43);
/* oklch */ color: oklch(49.9% 0.170 25.5);
Tailwind
colors: {
  custom: {
    50: '#d06f65',
    500: '#af2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #af2a2b;
$custom-light: #d06f65;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a2b",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 359.549,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.16968,
    "h": 25.5
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#AF2A2B
secondary
#6FC6C5
accent
#E4E343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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