#AF3126#AF3126

#AF3126 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.5% C 0.164 H 29.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF3126
RGBrgb(175, 49, 38)
HSLhsl(5, 64%, 42%)
HSVhsv(5, 78%, 69%)
CMYKcmyk(0%, 72%, 78.3%, 31.4%)
CIE-LABlab(40.33, 50.20, 36.48)
CIE-LCHlch(40.33, 62.05, 36.00°)
OKLaboklab(50.49% 0.1436 0.0801)
OKLCHoklch(50.49% 0.164 29.1)
XYZxyz(19.1296, 11.4535, 3.0368)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3126 #26A4AF
analogous
#AF265F #AF3126 #AF7626
triadic
#AF3126 #26AF31 #3126AF
tetradic
#AF3126 #5FAF26 #26A4AF #7626AF
square
#AF3126 #5FAF26 #26A4AF #7626AF
split-complementary
#AF3126 #26AF76 #265FAF
monochromatic
#4A1510 #7D231B #AF3126 #D5493D #E07970

Accessibility & contrast

On white

6.38
#AF3126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF3126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3126
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3126#FFFFFF#000000##FFFFFF
##AF31261.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D24
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3126;
/* rgb */ color: rgb(175, 49, 38);
/* oklch */ color: oklch(50.5% 0.164 29.1);
Tailwind
colors: {
  custom: {
    50: '#d07261',
    500: '#af3126',
    950: '#000000',
  },
}
SCSS
$custom: #af3126;
$custom-light: #d07261;
$custom-dark: #000000;
JSON
{
  "hex": "#af3126",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 38
  },
  "hsl": {
    "h": 4.818,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.16438,
    "h": 29.1
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#AF3126
secondary
#6ABFC7
accent
#DAE740
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF3126

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

Preview Lab → · Contrast checker → · Palette generator →

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