#AF2E29#AF2E29

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

Color values

HEX#AF2E29
RGBrgb(175, 46, 41)
HSLhsl(2, 62%, 42%)
HSVhsv(2, 77%, 69%)
CMYKcmyk(0%, 73.7%, 76.6%, 31.4%)
CIE-LABlab(39.97, 51.42, 34.38)
CIE-LCHlch(39.97, 61.85, 33.77°)
OKLaboklab(50.23% 0.148 0.0763)
OKLCHoklch(50.23% 0.167 27.3)
XYZxyz(19.0586, 11.2310, 3.2617)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E29 #29AAAF
analogous
#AF2967 #AF2E29 #AF7129
triadic
#AF2E29 #29AF2E #2E29AF
tetradic
#AF2E29 #67AF29 #29AAAF #7129AF
square
#AF2E29 #67AF29 #29AAAF #7129AF
split-complementary
#AF2E29 #29AF71 #2967AF
monochromatic
#4C1412 #7D211D #AF2E29 #D34842 #DE7874

Accessibility & contrast

On white

6.47
#AF2E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E29
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E29#FFFFFF#000000##FFFFFF
##AF2E291.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C27
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e29;
/* rgb */ color: rgb(175, 46, 41);
/* oklch */ color: oklch(50.2% 0.167 27.3);
Tailwind
colors: {
  custom: {
    50: '#cf7063',
    500: '#af2e29',
    950: '#000000',
  },
}
SCSS
$custom: #af2e29;
$custom-light: #cf7063;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e29",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 41
  },
  "hsl": {
    "h": 2.239,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.16654,
    "h": 27.3
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#AF2E29
secondary
#6EC3C6
accent
#DFE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF2E29

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

Preview Lab → · Contrast checker → · Palette generator →

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