#AF261F#AF261F

#AF261F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 28.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AF261F
RGBrgb(175, 38, 31)
HSLhsl(3, 70%, 40%)
HSVhsv(3, 82%, 69%)
CMYKcmyk(0%, 78.3%, 82.3%, 31.4%)
CIE-LABlab(38.90, 53.75, 38.88)
CIE-LCHlch(38.90, 66.34, 35.88°)
OKLaboklab(49.4% 0.1533 0.083)
OKLCHoklch(49.4% 0.174 28.4)
XYZxyz(18.6219, 10.6021, 2.3620)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF261F #1FA8AF
analogous
#AF1F60 #AF261F #AF6E1F
triadic
#AF261F #1FAF26 #261FAF
tetradic
#AF261F #60AF1F #1FA8AF #6E1FAF
square
#AF261F #60AF1F #1FA8AF #6E1FAF
split-complementary
#AF261F #1FAF6E #1F60AF
monochromatic
#470F0D #7B1B16 #AF261F #DA3931 #E46B65

Accessibility & contrast

On white

6.73
#AF261F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF261F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF261F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF261F#FFFFFF#000000##FFFFFF
##AF261F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#736618
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af261f;
/* rgb */ color: rgb(175, 38, 31);
/* oklch */ color: oklch(49.4% 0.174 28.4);
Tailwind
colors: {
  custom: {
    50: '#d06d5c',
    500: '#af261f',
    950: '#000000',
  },
}
SCSS
$custom: #af261f;
$custom-light: #d06d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#af261f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 2.917,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.17433,
    "h": 28.4
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#AF261F
secondary
#61C4C9
accent
#E4ED3B
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF261F

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

Preview Lab → · Contrast checker → · Palette generator →

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