#AF4828#AF4828

#AF4828 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.3% C 0.142 H 37.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF4828
RGBrgb(175, 72, 40)
HSLhsl(14, 63%, 42%)
HSVhsv(14, 77%, 69%)
CMYKcmyk(0%, 58.9%, 77.1%, 31.4%)
CIE-LABlab(44.10, 40.24, 39.32)
CIE-LCHlch(44.10, 56.26, 44.33°)
OKLaboklab(53.33% 0.113 0.0868)
OKLCHoklch(53.33% 0.142 37.5)
XYZxyz(20.3817, 13.9047, 3.6177)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4828 #288FAF
analogous
#AF284C #AF4828 #AF8C28
triadic
#AF4828 #28AF48 #4828AF
tetradic
#AF4828 #4CAF28 #288FAF #8C28AF
square
#AF4828 #4CAF28 #288FAF #8C28AF
split-complementary
#AF4828 #28AF8C #284CAF
monochromatic
#4B1F11 #7D341D #AF4828 #D46341 #DF8C73

Accessibility & contrast

On white

5.55
#AF4828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF4828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4828
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4828#FFFFFF#000000##FFFFFF
##AF48281.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A24
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#C03041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4828;
/* rgb */ color: rgb(175, 72, 40);
/* oklch */ color: oklch(53.3% 0.142 37.5);
Tailwind
colors: {
  custom: {
    50: '#ce7e64',
    500: '#af4828',
    950: '#000000',
  },
}
SCSS
$custom: #af4828;
$custom-light: #ce7e64;
$custom-dark: #000000;
JSON
{
  "hex": "#af4828",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 14.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.14249,
    "h": 37.5
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#AF4828
secondary
#6DB1C6
accent
#BFE642
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A

Preview Lab

Preview with #AF4828

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

Preview Lab → · Contrast checker → · Palette generator →

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