#AF2D2E#AF2D2E

#AF2D2E is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 25.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2D2E
RGBrgb(175, 45, 46)
HSLhsl(360, 59%, 43%)
HSVhsv(360, 74%, 69%)
CMYKcmyk(0%, 74.3%, 73.7%, 31.4%)
CIE-LABlab(39.90, 51.98, 31.38)
CIE-LCHlch(39.90, 60.72, 31.12°)
OKLaboklab(50.2% 0.1509 0.071)
OKLCHoklch(50.2% 0.167 25.2)
XYZxyz(19.1129, 11.1909, 3.7379)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D2E #2DAFAE
analogous
#AF2D6F #AF2D2E #AF6D2D
triadic
#AF2D2E #2EAF2D #2D2EAF
tetradic
#AF2D2E #6FAF2D #2DAFAE #6D2DAF
square
#AF2D2E #6FAF2D #2DAFAE #6D2DAF
split-complementary
#AF2D2E #2DAF6D #2D6FAF
monochromatic
#4E1414 #7E2021 #AF2D2E #D0494A #DD7A7A

Accessibility & contrast

On white

6.49
#AF2D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D2E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D2E#FFFFFF#000000##FFFFFF
##AF2D2E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d2e;
/* rgb */ color: rgb(175, 45, 46);
/* oklch */ color: oklch(50.2% 0.167 25.2);
Tailwind
colors: {
  custom: {
    50: '#cf7067',
    500: '#af2d2e',
    950: '#000000',
  },
}
SCSS
$custom: #af2d2e;
$custom-light: #cf7067;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d2e",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 359.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.16676,
    "h": 25.2
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#AF2D2E
secondary
#73C5C4
accent
#E2E146
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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