#AF2A2E#AF2A2E

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

Color values

HEX#AF2A2E
RGBrgb(175, 42, 46)
HSLhsl(358, 61%, 43%)
HSVhsv(358, 76%, 69%)
CMYKcmyk(0%, 76%, 73.7%, 31.4%)
CIE-LABlab(39.53, 53.01, 30.95)
CIE-LCHlch(39.53, 61.39, 30.28°)
OKLaboklab(49.92% 0.1542 0.0701)
OKLCHoklch(49.92% 0.169 24.4)
XYZxyz(19.0025, 10.9701, 3.7011)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A2E #2AAFAB
analogous
#AF2A71 #AF2A2E #AF682A
triadic
#AF2A2E #2EAF2A #2A2EAF
tetradic
#AF2A2E #71AF2A #2AAFAB #682AAF
square
#AF2A2E #71AF2A #2AAFAB #682AAF
split-complementary
#AF2A2E #2AAF68 #2A71AF
monochromatic
#4C1214 #7E1E21 #AF2A2E #D24448 #DE7579

Accessibility & contrast

On white

6.58
#AF2A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A2E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A2E#FFFFFF#000000##FFFFFF
##AF2A2E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a2e;
/* rgb */ color: rgb(175, 42, 46);
/* oklch */ color: oklch(49.9% 0.169 24.4);
Tailwind
colors: {
  custom: {
    50: '#cf6f67',
    500: '#af2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #af2a2e;
$custom-light: #cf6f67;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a2e",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 358.195,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49921,
    "c": 0.16933,
    "h": 24.4
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#AF2A2E
secondary
#6FC6C3
accent
#E4E043
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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