#AF2921#AF2921

#AF2921 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 28.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF2921
RGBrgb(175, 41, 33)
HSLhsl(3, 68%, 41%)
HSVhsv(3, 81%, 69%)
CMYKcmyk(0%, 76.6%, 81.1%, 31.4%)
CIE-LABlab(39.26, 52.86, 38.15)
CIE-LCHlch(39.26, 65.18, 35.82°)
OKLaboklab(49.68% 0.1509 0.0821)
OKLCHoklch(49.68% 0.172 28.5)
XYZxyz(18.7489, 10.8126, 2.5384)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2921 #21A7AF
analogous
#AF2160 #AF2921 #AF7021
triadic
#AF2921 #21AF29 #2921AF
tetradic
#AF2921 #60AF21 #21A7AF #7021AF
square
#AF2921 #60AF21 #21A7AF #7021AF
split-complementary
#AF2921 #21AF70 #2160AF
monochromatic
#48110E #7C1D17 #AF2921 #D93E34 #E36F68

Accessibility & contrast

On white

6.64
#AF2921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF2921 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2921
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2921#FFFFFF#000000##FFFFFF
##AF29211.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2921;
/* rgb */ color: rgb(175, 41, 33);
/* oklch */ color: oklch(49.7% 0.172 28.5);
Tailwind
colors: {
  custom: {
    50: '#d06e5e',
    500: '#af2921',
    950: '#000000',
  },
}
SCSS
$custom: #af2921;
$custom-light: #d06e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2921",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 33
  },
  "hsl": {
    "h": 3.38,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.17177,
    "h": 28.5
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#AF2921
secondary
#64C2C8
accent
#E1EB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2921

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

Preview Lab → · Contrast checker → · Palette generator →

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