#AF4228#AF4228

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

Color values

HEX#AF4228
RGBrgb(175, 66, 40)
HSLhsl(12, 63%, 42%)
HSVhsv(12, 77%, 69%)
CMYKcmyk(0%, 62.3%, 77.1%, 31.4%)
CIE-LABlab(43.01, 43.09, 38.19)
CIE-LCHlch(43.01, 57.58, 41.55°)
OKLaboklab(52.51% 0.1218 0.0843)
OKLCHoklch(52.51% 0.148 34.7)
XYZxyz(20.0126, 13.1664, 3.4946)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4228 #2895AF
analogous
#AF2851 #AF4228 #AF8628
triadic
#AF4228 #28AF42 #4228AF
tetradic
#AF4228 #51AF28 #2895AF #8628AF
square
#AF4228 #51AF28 #2895AF #8628AF
split-complementary
#AF4228 #28AF86 #2851AF
monochromatic
#4B1C11 #7D2F1D #AF4228 #D45D41 #DF8773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4228#FFFFFF#000000##FFFFFF
##AF42281.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)
#615624
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#C1273D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4228;
/* rgb */ color: rgb(175, 66, 40);
/* oklch */ color: oklch(52.5% 0.148 34.7);
Tailwind
colors: {
  custom: {
    50: '#cf7b63',
    500: '#af4228',
    950: '#000000',
  },
}
SCSS
$custom: #af4228;
$custom-light: #cf7b63;
$custom-dark: #000000;
JSON
{
  "hex": "#af4228",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 11.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.14816,
    "h": 34.7
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#AF4228
secondary
#6DB5C6
accent
#C6E642
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A

Preview Lab

Preview with #AF4228

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

Preview Lab → · Contrast checker → · Palette generator →

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