#AF2A2F#AF2A2F

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

Color values

HEX#AF2A2F
RGBrgb(175, 42, 47)
HSLhsl(358, 61%, 43%)
HSVhsv(358, 76%, 69%)
CMYKcmyk(0%, 76%, 73.1%, 31.4%)
CIE-LABlab(39.54, 53.06, 30.37)
CIE-LCHlch(39.54, 61.13, 29.79°)
OKLaboklab(49.94% 0.1545 0.069)
OKLCHoklch(49.94% 0.169 24.1)
XYZxyz(19.0224, 10.9781, 3.8061)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A2F #2AAFAA
analogous
#AF2A72 #AF2A2F #AF672A
triadic
#AF2A2F #2FAF2A #2A2FAF
tetradic
#AF2A2F #72AF2A #2AAFAA #672AAF
square
#AF2A2F #72AF2A #2AAFAA #672AAF
split-complementary
#AF2A2F #2AAF67 #2A72AF
monochromatic
#4C1214 #7E1E22 #AF2A2F #D24449 #DE7579

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2A2F#FFFFFF#000000##FFFFFF
##AF2A2F1.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)
#524B2E
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a2f;
/* rgb */ color: rgb(175, 42, 47);
/* oklch */ color: oklch(49.9% 0.169 24.1);
Tailwind
colors: {
  custom: {
    50: '#cf6f67',
    500: '#af2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #af2a2f;
$custom-light: #cf6f67;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a2f",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.744,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.16922,
    "h": 24.1
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#AF2A2F
secondary
#6FC6C2
accent
#E4DE43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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