#AF4126#AF4126

#AF4126 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.4% C 0.150 H 34.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF4126
RGBrgb(175, 65, 38)
HSLhsl(12, 64%, 42%)
HSVhsv(12, 78%, 69%)
CMYKcmyk(0%, 62.9%, 78.3%, 31.4%)
CIE-LABlab(42.82, 43.47, 39.05)
CIE-LCHlch(42.82, 58.44, 41.93°)
OKLaboklab(52.36% 0.1226 0.0857)
OKLCHoklch(52.36% 0.15 34.9)
XYZxyz(19.9215, 13.0373, 3.3008)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4126 #2694AF
analogous
#AF2650 #AF4126 #AF8626
triadic
#AF4126 #26AF41 #4126AF
tetradic
#AF4126 #50AF26 #2694AF #8626AF
square
#AF4126 #50AF26 #2694AF #8626AF
split-complementary
#AF4126 #26AF86 #2650AF
monochromatic
#4A1C10 #7D2E1B #AF4126 #D55B3D #E08670

Accessibility & contrast

On white

5.82
#AF4126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF4126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4126
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4126#FFFFFF#000000##FFFFFF
##AF41261.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#C1253C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4126;
/* rgb */ color: rgb(175, 65, 38);
/* oklch */ color: oklch(52.4% 0.150 34.9);
Tailwind
colors: {
  custom: {
    50: '#cf7a62',
    500: '#af4126',
    950: '#000000',
  },
}
SCSS
$custom: #af4126;
$custom-light: #cf7a62;
$custom-dark: #000000;
JSON
{
  "hex": "#af4126",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 38
  },
  "hsl": {
    "h": 11.825,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.14958,
    "h": 34.9
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#AF4126
secondary
#6AB4C7
accent
#C6E740
background
#FDF7F5
surface
#FBEEEA
border
#D4C9C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AF4126

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

Preview Lab → · Contrast checker → · Palette generator →

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