#AF2626#AF2626

#AF2626 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 26.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF2626
RGBrgb(175, 38, 38)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 78.3%, 78.3%, 31.4%)
CIE-LABlab(38.97, 53.98, 35.04)
CIE-LCHlch(38.97, 64.36, 32.99°)
OKLaboklab(49.48% 0.1555 0.0769)
OKLCHoklch(49.48% 0.173 26.3)
XYZxyz(18.7244, 10.6431, 2.9018)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2626 #26AFAF
analogous
#AF266B #AF2626 #AF6B26
triadic
#AF2626 #26AF26 #2626AF
tetradic
#AF2626 #6BAF26 #26AFAF #6B26AF
square
#AF2626 #6BAF26 #26AFAF #6B26AF
split-complementary
#AF2626 #26AF6B #266BAF
monochromatic
#4A1010 #7D1B1B #AF2626 #D53D3D #E07070

Accessibility & contrast

On white

6.71
#AF2626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF2626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2626
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2626#FFFFFF#000000##FFFFFF
##AF26261.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514924
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2626;
/* rgb */ color: rgb(175, 38, 38);
/* oklch */ color: oklch(49.5% 0.173 26.3);
Tailwind
colors: {
  custom: {
    50: '#d06d61',
    500: '#af2626',
    950: '#000000',
  },
}
SCSS
$custom: #af2626;
$custom-light: #d06d61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2626",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 38
  },
  "hsl": {
    "h": 0,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.17346,
    "h": 26.3
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#AF2626
secondary
#6AC7C7
accent
#E7E740
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2626

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

Preview Lab → · Contrast checker → · Palette generator →

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