#AF2E3A#AF2E3A

#AF2E3A is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.165 H 20.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2E3A
RGBrgb(175, 46, 58)
HSLhsl(354, 58%, 43%)
HSVhsv(354, 74%, 69%)
CMYKcmyk(0%, 73.7%, 66.9%, 31.4%)
CIE-LABlab(40.21, 52.23, 24.46)
CIE-LCHlch(40.21, 57.67, 25.10°)
OKLaboklab(50.48% 0.1543 0.0578)
OKLCHoklch(50.48% 0.165 20.5)
XYZxyz(19.4220, 11.3763, 5.1753)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E3A #2EAFA3
analogous
#AF2E7A #AF2E3A #AF632E
triadic
#AF2E3A #3AAF2E #2E3AAF
tetradic
#AF2E3A #7AAF2E #2EAFA3 #632EAF
square
#AF2E3A #7AAF2E #2EAFA3 #632EAF
split-complementary
#AF2E3A #2EAF63 #2E7AAF
monochromatic
#4E151A #7F212A #AF2E3A #D04B57 #DC7B84

Accessibility & contrast

On white

6.41
#AF2E3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2E3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E3A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E3A#FFFFFF#000000##FFFFFF
##AF2E3A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D39
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e3a;
/* rgb */ color: rgb(175, 46, 58);
/* oklch */ color: oklch(50.5% 0.165 20.5);
Tailwind
colors: {
  custom: {
    50: '#ce7170',
    500: '#af2e3a',
    950: '#000000',
  },
}
SCSS
$custom: #af2e3a;
$custom-light: #ce7170;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e3a",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 58
  },
  "hsl": {
    "h": 354.419,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.16474,
    "h": 20.5
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#AF2E3A
secondary
#74C5BD
accent
#E2D346
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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