#AF2A29#AF2A29

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

Color values

HEX#AF2A29
RGBrgb(175, 42, 41)
HSLhsl(0, 62%, 42%)
HSVhsv(0, 77%, 69%)
CMYKcmyk(0%, 76%, 76.6%, 31.4%)
CIE-LABlab(39.47, 52.81, 33.84)
CIE-LCHlch(39.47, 62.72, 32.65°)
OKLaboklab(49.86% 0.1524 0.0752)
OKLCHoklch(49.86% 0.17 26.2)
XYZxyz(18.9096, 10.9329, 3.2120)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A29 #29AEAF
analogous
#AF296B #AF2A29 #AF6D29
triadic
#AF2A29 #29AF2A #2A29AF
tetradic
#AF2A29 #6BAF29 #29AEAF #6D29AF
square
#AF2A29 #6BAF29 #29AEAF #6D29AF
split-complementary
#AF2A29 #29AF6D #296BAF
monochromatic
#4C1212 #7D1E1D #AF2A29 #D34342 #DE7574

Accessibility & contrast

On white

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

On black

3.19
#AF2A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2A29#FFFFFF#000000##FFFFFF
##AF2A291.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B27
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a29;
/* rgb */ color: rgb(175, 42, 41);
/* oklch */ color: oklch(49.9% 0.170 26.2);
Tailwind
colors: {
  custom: {
    50: '#d06f63',
    500: '#af2a29',
    950: '#000000',
  },
}
SCSS
$custom: #af2a29;
$custom-light: #d06f63;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a29",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 41
  },
  "hsl": {
    "h": 0.448,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.16992,
    "h": 26.2
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#AF2A29
secondary
#6EC5C6
accent
#E4E543
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2A29

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

Preview Lab → · Contrast checker → · Palette generator →

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