#AF2E2B#AF2E2B

#AF2E2B is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.166 H 26.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF2E2B
RGBrgb(175, 46, 43)
HSLhsl(1, 61%, 43%)
HSVhsv(1, 75%, 69%)
CMYKcmyk(0%, 73.7%, 75.4%, 31.4%)
CIE-LABlab(39.99, 51.50, 33.25)
CIE-LCHlch(39.99, 61.30, 32.85°)
OKLaboklab(50.25% 0.1487 0.0744)
OKLCHoklch(50.25% 0.166 26.6)
XYZxyz(19.0944, 11.2453, 3.4502)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E2B #2BACAF
analogous
#AF2B6A #AF2E2B #AF702B
triadic
#AF2E2B #2BAF2E #2E2BAF
tetradic
#AF2E2B #6AAF2B #2BACAF #702BAF
square
#AF2E2B #6AAF2B #2BACAF #702BAF
split-complementary
#AF2E2B #2BAF70 #2B6AAF
monochromatic
#4D1413 #7E211F #AF2E2B #D14946 #DE7977

Accessibility & contrast

On white

6.46
#AF2E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E2B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E2B#FFFFFF#000000##FFFFFF
##AF2E2B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e2b;
/* rgb */ color: rgb(175, 46, 43);
/* oklch */ color: oklch(50.3% 0.166 26.6);
Tailwind
colors: {
  custom: {
    50: '#cf7165',
    500: '#af2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #af2e2b;
$custom-light: #cf7165;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e2b",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.16627,
    "h": 26.6
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#AF2E2B
secondary
#70C3C5
accent
#E0E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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