#AF2826#AF2826

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

Color values

HEX#AF2826
RGBrgb(175, 40, 38)
HSLhsl(1, 64%, 42%)
HSVhsv(1, 78%, 69%)
CMYKcmyk(0%, 77.1%, 78.3%, 31.4%)
CIE-LABlab(39.20, 53.35, 35.28)
CIE-LCHlch(39.20, 63.96, 33.48°)
OKLaboklab(49.64% 0.1535 0.0774)
OKLCHoklch(49.64% 0.172 26.8)
XYZxyz(18.7901, 10.7745, 2.9237)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2826 #26ADAF
analogous
#AF2669 #AF2826 #AF6D26
triadic
#AF2826 #26AF28 #2826AF
tetradic
#AF2826 #69AF26 #26ADAF #6D26AF
square
#AF2826 #69AF26 #26ADAF #6D26AF
split-complementary
#AF2826 #26AF6D #2669AF
monochromatic
#4A1110 #7D1D1B #AF2826 #D53F3D #E07170

Accessibility & contrast

On white

6.66
#AF2826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2826
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2826#FFFFFF#000000##FFFFFF
##AF28261.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2826;
/* rgb */ color: rgb(175, 40, 38);
/* oklch */ color: oklch(49.6% 0.172 26.8);
Tailwind
colors: {
  custom: {
    50: '#d06e61',
    500: '#af2826',
    950: '#000000',
  },
}
SCSS
$custom: #af2826;
$custom-light: #d06e61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2826",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 0.876,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.1719,
    "h": 26.8
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#AF2826
secondary
#6AC5C7
accent
#E5E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2826

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

Preview Lab → · Contrast checker → · Palette generator →

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