#AF4229#AF4229

#AF4229 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.5% C 0.148 H 34.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF4229
RGBrgb(175, 66, 41)
HSLhsl(11, 62%, 42%)
HSVhsv(11, 77%, 69%)
CMYKcmyk(0%, 62.3%, 76.6%, 31.4%)
CIE-LABlab(43.02, 43.13, 37.66)
CIE-LCHlch(43.02, 57.26, 41.12°)
OKLaboklab(52.52% 0.1222 0.0835)
OKLCHoklch(52.52% 0.148 34.3)
XYZxyz(20.0298, 13.1733, 3.5854)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4229 #2996AF
analogous
#AF2953 #AF4229 #AF8529
triadic
#AF4229 #29AF42 #4229AF
tetradic
#AF4229 #53AF29 #2996AF #8529AF
square
#AF4229 #53AF29 #2996AF #8529AF
split-complementary
#AF4229 #29AF85 #2953AF
monochromatic
#4C1D12 #7D2F1D #AF4229 #D35D42 #DE8874

Accessibility & contrast

On white

5.78
#AF4229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF4229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4229
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4229#FFFFFF#000000##FFFFFF
##AF42291.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605626
Deuteranopia (green-blind)
#7B6F25
Tritanopia (blue-blind)
#C0273D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4229;
/* rgb */ color: rgb(175, 66, 41);
/* oklch */ color: oklch(52.5% 0.148 34.3);
Tailwind
colors: {
  custom: {
    50: '#cf7b64',
    500: '#af4229',
    950: '#000000',
  },
}
SCSS
$custom: #af4229;
$custom-light: #cf7b64;
$custom-dark: #000000;
JSON
{
  "hex": "#af4229",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 41
  },
  "hsl": {
    "h": 11.194,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.14793,
    "h": 34.3
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#AF4229
secondary
#6EB5C6
accent
#C7E543
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A

Preview Lab

Preview with #AF4229

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

Preview Lab → · Contrast checker → · Palette generator →

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