#AF2E2F#AF2E2F

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

Color values

HEX#AF2E2F
RGBrgb(175, 46, 47)
HSLhsl(360, 58%, 43%)
HSVhsv(360, 74%, 69%)
CMYKcmyk(0%, 73.7%, 73.1%, 31.4%)
CIE-LABlab(40.04, 51.67, 30.95)
CIE-LCHlch(40.04, 60.23, 30.92°)
OKLaboklab(50.31% 0.1501 0.0703)
OKLCHoklch(50.31% 0.166 25.1)
XYZxyz(19.1715, 11.2761, 3.8558)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E2F #2EAFAE
analogous
#AF2E6F #AF2E2F #AF6D2E
triadic
#AF2E2F #2FAF2E #2E2FAF
tetradic
#AF2E2F #6FAF2E #2EAFAE #6D2EAF
square
#AF2E2F #6FAF2E #2EAFAE #6D2EAF
split-complementary
#AF2E2F #2EAF6D #2E6FAF
monochromatic
#4E1515 #7F2122 #AF2E2F #D04B4C #DC7B7C

Accessibility & contrast

On white

6.45
#AF2E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E2F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E2F#FFFFFF#000000##FFFFFF
##AF2E2F1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2E
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e2f;
/* rgb */ color: rgb(175, 46, 47);
/* oklch */ color: oklch(50.3% 0.166 25.1);
Tailwind
colors: {
  custom: {
    50: '#cf7168',
    500: '#af2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #af2e2f;
$custom-light: #cf7168;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e2f",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.535,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.16576,
    "h": 25.1
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#AF2E2F
secondary
#74C5C4
accent
#E2E046
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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