#AF5828#AF5828

#AF5828 is a mid, vivid orange. Relative luminance 0.162; OKLCH L 55.8% C 0.129 H 46.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF5828
RGBrgb(175, 88, 40)
HSLhsl(21, 63%, 42%)
HSVhsv(21, 77%, 69%)
CMYKcmyk(0%, 49.7%, 77.1%, 31.4%)
CIE-LABlab(47.30, 32.06, 42.60)
CIE-LCHlch(47.30, 53.32, 53.04°)
OKLaboklab(55.77% 0.0881 0.0939)
OKLCHoklch(55.77% 0.129 46.8)
XYZxyz(21.5540, 16.2492, 4.0084)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5828 #287FAF
analogous
#AF283C #AF5828 #AF9B28
triadic
#AF5828 #28AF58 #5828AF
tetradic
#AF5828 #3CAF28 #287FAF #9B28AF
square
#AF5828 #3CAF28 #287FAF #9B28AF
split-complementary
#AF5828 #28AF9B #283CAF
monochromatic
#4B2611 #7D3F1D #AF5828 #D47541 #DF9973

Accessibility & contrast

On white

4.94
#AF5828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF5828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5828
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5828#FFFFFF#000000##FFFFFF
##AF58281.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716422
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#C0454E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5828;
/* rgb */ color: rgb(175, 88, 40);
/* oklch */ color: oklch(55.8% 0.129 46.8);
Tailwind
colors: {
  custom: {
    50: '#cd8865',
    500: '#af5828',
    950: '#000000',
  },
}
SCSS
$custom: #af5828;
$custom-light: #cd8865;
$custom-dark: #000000;
JSON
{
  "hex": "#af5828",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 21.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.12871,
    "h": 46.8
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#AF5828
secondary
#6DA6C6
accent
#ACE642
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF5828

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

Preview Lab → · Contrast checker → · Palette generator →

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