#AF4028#AF4028

#AF4028 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.150 H 33.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF4028
RGBrgb(175, 64, 40)
HSLhsl(11, 63%, 42%)
HSVhsv(11, 77%, 69%)
CMYKcmyk(0%, 63.4%, 77.1%, 31.4%)
CIE-LABlab(42.67, 44.01, 37.83)
CIE-LCHlch(42.67, 58.03, 40.68°)
OKLaboklab(52.25% 0.1247 0.0835)
OKLCHoklch(52.25% 0.15 33.8)
XYZxyz(19.8978, 12.9368, 3.4564)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4028 #2897AF
analogous
#AF2853 #AF4028 #AF8428
triadic
#AF4028 #28AF40 #4028AF
tetradic
#AF4028 #53AF28 #2897AF #8428AF
square
#AF4028 #53AF28 #2897AF #8428AF
split-complementary
#AF4028 #28AF84 #2853AF
monochromatic
#4B1C11 #7D2E1D #AF4028 #D45B41 #DF8673

Accessibility & contrast

On white

5.85
#AF4028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF4028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4028
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4028#FFFFFF#000000##FFFFFF
##AF40281.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5525
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#C1243B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4028;
/* rgb */ color: rgb(175, 64, 40);
/* oklch */ color: oklch(52.2% 0.150 33.8);
Tailwind
colors: {
  custom: {
    50: '#cf7a63',
    500: '#af4028',
    950: '#000000',
  },
}
SCSS
$custom: #af4028;
$custom-light: #cf7a63;
$custom-dark: #000000;
JSON
{
  "hex": "#af4028",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 10.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.15007,
    "h": 33.8
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#AF4028
secondary
#6DB6C6
accent
#C9E642
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF4028

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

Preview Lab → · Contrast checker → · Palette generator →

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