#AF2D29#AF2D29

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

Color values

HEX#AF2D29
RGBrgb(175, 45, 41)
HSLhsl(2, 62%, 42%)
HSVhsv(2, 77%, 69%)
CMYKcmyk(0%, 74.3%, 76.6%, 31.4%)
CIE-LABlab(39.84, 51.77, 34.24)
CIE-LCHlch(39.84, 62.07, 33.48°)
OKLaboklab(50.13% 0.1492 0.076)
OKLCHoklch(50.13% 0.167 27)
XYZxyz(19.0200, 11.1538, 3.2488)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D29 #29ABAF
analogous
#AF2968 #AF2D29 #AF7029
triadic
#AF2D29 #29AF2D #2D29AF
tetradic
#AF2D29 #68AF29 #29ABAF #7029AF
square
#AF2D29 #68AF29 #29ABAF #7029AF
split-complementary
#AF2D29 #29AF70 #2968AF
monochromatic
#4C1412 #7D201D #AF2D29 #D34742 #DE7774

Accessibility & contrast

On white

6.50
#AF2D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D29
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D29#FFFFFF#000000##FFFFFF
##AF2D291.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.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: #af2d29;
/* rgb */ color: rgb(175, 45, 41);
/* oklch */ color: oklch(50.1% 0.167 27.0);
Tailwind
colors: {
  custom: {
    50: '#d07063',
    500: '#af2d29',
    950: '#000000',
  },
}
SCSS
$custom: #af2d29;
$custom-light: #d07063;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d29",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 41
  },
  "hsl": {
    "h": 1.791,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.16741,
    "h": 27
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#AF2D29
secondary
#6EC3C6
accent
#E0E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2D29

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

Preview Lab → · Contrast checker → · Palette generator →

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