#AF2928#AF2928

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

Color values

HEX#AF2928
RGBrgb(175, 41, 40)
HSLhsl(0, 63%, 42%)
HSVhsv(0, 77%, 69%)
CMYKcmyk(0%, 76.6%, 77.1%, 31.4%)
CIE-LABlab(39.34, 53.10, 34.28)
CIE-LCHlch(39.34, 63.20, 32.84°)
OKLaboklab(49.75% 0.1531 0.0758)
OKLCHoklch(49.75% 0.171 26.3)
XYZxyz(18.8574, 10.8560, 3.1096)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2928 #28AEAF
analogous
#AF286B #AF2928 #AF6C28
triadic
#AF2928 #28AF29 #2928AF
tetradic
#AF2928 #6BAF28 #28AEAF #6C28AF
square
#AF2928 #6BAF28 #28AEAF #6C28AF
split-complementary
#AF2928 #28AF6C #286BAF
monochromatic
#4B1211 #7D1D1D #AF2928 #D44241 #DF7373

Accessibility & contrast

On white

6.62
#AF2928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2928
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2928#FFFFFF#000000##FFFFFF
##AF29281.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.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: #af2928;
/* rgb */ color: rgb(175, 41, 40);
/* oklch */ color: oklch(49.8% 0.171 26.3);
Tailwind
colors: {
  custom: {
    50: '#d06e62',
    500: '#af2928',
    950: '#000000',
  },
}
SCSS
$custom: #af2928;
$custom-light: #d06e62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2928",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 40
  },
  "hsl": {
    "h": 0.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.17086,
    "h": 26.3
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2928

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

Preview Lab → · Contrast checker → · Palette generator →

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