#AF2A28#AF2A28

#AF2A28 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 26.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AF2A28
RGBrgb(175, 42, 40)
HSLhsl(1, 63%, 42%)
HSVhsv(1, 77%, 69%)
CMYKcmyk(0%, 76%, 77.1%, 31.4%)
CIE-LABlab(39.46, 52.77, 34.40)
CIE-LCHlch(39.46, 62.99, 33.10°)
OKLaboklab(49.84% 0.1521 0.0761)
OKLCHoklch(49.84% 0.17 26.6)
XYZxyz(18.8924, 10.9261, 3.1212)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A28 #28ADAF
analogous
#AF286A #AF2A28 #AF6E28
triadic
#AF2A28 #28AF2A #2A28AF
tetradic
#AF2A28 #6AAF28 #28ADAF #6E28AF
square
#AF2A28 #6AAF28 #28ADAF #6E28AF
split-complementary
#AF2A28 #28AF6E #286AAF
monochromatic
#4B1211 #7D1E1D #AF2A28 #D44341 #DF7473

Accessibility & contrast

On white

6.59
#AF2A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A28
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A28#FFFFFF#000000##FFFFFF
##AF2A281.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a28;
/* rgb */ color: rgb(175, 42, 40);
/* oklch */ color: oklch(49.8% 0.170 26.6);
Tailwind
colors: {
  custom: {
    50: '#d06f62',
    500: '#af2a28',
    950: '#000000',
  },
}
SCSS
$custom: #af2a28;
$custom-light: #d06f62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a28",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 0.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.17004,
    "h": 26.6
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#AF2A28
secondary
#6DC5C6
accent
#E3E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2A28

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

Preview Lab → · Contrast checker → · Palette generator →

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