#AF2821#AF2821

#AF2821 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.173 H 28.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF2821
RGBrgb(175, 40, 33)
HSLhsl(3, 68%, 41%)
HSVhsv(3, 81%, 69%)
CMYKcmyk(0%, 77.1%, 81.1%, 31.4%)
CIE-LABlab(39.15, 53.18, 38.03)
CIE-LCHlch(39.15, 65.38, 35.57°)
OKLaboklab(49.59% 0.1519 0.0818)
OKLCHoklch(49.59% 0.173 28.3)
XYZxyz(18.7148, 10.7443, 2.5270)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2821 #21A8AF
analogous
#AF2161 #AF2821 #AF6F21
triadic
#AF2821 #21AF28 #2821AF
tetradic
#AF2821 #61AF21 #21A8AF #6F21AF
square
#AF2821 #61AF21 #21A8AF #6F21AF
split-complementary
#AF2821 #21AF6F #2161AF
monochromatic
#48100E #7C1C17 #AF2821 #D93D34 #E36E68

Accessibility & contrast

On white

6.67
#AF2821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF2821 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2821
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2821#FFFFFF#000000##FFFFFF
##AF28211.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2821;
/* rgb */ color: rgb(175, 40, 33);
/* oklch */ color: oklch(49.6% 0.173 28.3);
Tailwind
colors: {
  custom: {
    50: '#d06e5d',
    500: '#af2821',
    950: '#000000',
  },
}
SCSS
$custom: #af2821;
$custom-light: #d06e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2821",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 2.958,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.17255,
    "h": 28.3
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#AF2821
secondary
#64C3C8
accent
#E3EB3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2821

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

Preview Lab → · Contrast checker → · Palette generator →

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