#AF261E#AF261E

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

Color values

HEX#AF261E
RGBrgb(175, 38, 30)
HSLhsl(3, 71%, 40%)
HSVhsv(3, 83%, 69%)
CMYKcmyk(0%, 78.3%, 82.9%, 31.4%)
CIE-LABlab(38.89, 53.73, 39.41)
CIE-LCHlch(38.89, 66.63, 36.26°)
OKLaboklab(49.39% 0.153 0.0838)
OKLCHoklch(49.39% 0.174 28.7)
XYZxyz(18.6089, 10.5969, 2.2936)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF261E #1EA7AF
analogous
#AF1E5F #AF261E #AF6E1E
triadic
#AF261E #1EAF26 #261EAF
tetradic
#AF261E #5FAF1E #1EA7AF #6E1EAF
square
#AF261E #5FAF1E #1EA7AF #6E1EAF
split-complementary
#AF261E #1EAF6E #1E5FAF
monochromatic
#470F0C #7B1B15 #AF261E #DB382F #E46A63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF261E#FFFFFF#000000##FFFFFF
##AF261E1.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)
#51481B
Deuteranopia (green-blind)
#736617
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af261e;
/* rgb */ color: rgb(175, 38, 30);
/* oklch */ color: oklch(49.4% 0.174 28.7);
Tailwind
colors: {
  custom: {
    50: '#d06d5b',
    500: '#af261e',
    950: '#000000',
  },
}
SCSS
$custom: #af261e;
$custom-light: #d06d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#af261e",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 3.31,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.17446,
    "h": 28.7
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#AF261E
secondary
#60C3C9
accent
#E4ED3A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF261E

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

Preview Lab → · Contrast checker → · Palette generator →

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