#AF5128#AF5128

#AF5128 is a mid, vivid orange. Relative luminance 0.152; OKLCH L 54.7% C 0.134 H 42.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF5128
RGBrgb(175, 81, 40)
HSLhsl(18, 63%, 42%)
HSVhsv(18, 77%, 69%)
CMYKcmyk(0%, 53.7%, 77.1%, 31.4%)
CIE-LABlab(45.85, 35.73, 41.12)
CIE-LCHlch(45.85, 54.48, 49.01°)
OKLaboklab(54.66% 0.0992 0.0907)
OKLCHoklch(54.66% 0.134 42.4)
XYZxyz(21.0067, 15.1547, 3.8260)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5128 #2886AF
analogous
#AF2843 #AF5128 #AF9528
triadic
#AF5128 #28AF51 #5128AF
tetradic
#AF5128 #43AF28 #2886AF #9528AF
square
#AF5128 #43AF28 #2886AF #9528AF
split-complementary
#AF5128 #28AF95 #2843AF
monochromatic
#4B2311 #7D3A1D #AF5128 #D46D41 #DF9373

Accessibility & contrast

On white

5.21
#AF5128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF5128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5128
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5128#FFFFFF#000000##FFFFFF
##AF51281.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6023
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#C03D48
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5128;
/* rgb */ color: rgb(175, 81, 40);
/* oklch */ color: oklch(54.7% 0.134 42.4);
Tailwind
colors: {
  custom: {
    50: '#ce8464',
    500: '#af5128',
    950: '#000000',
  },
}
SCSS
$custom: #af5128;
$custom-light: #ce8464;
$custom-dark: #000000;
JSON
{
  "hex": "#af5128",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 18.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.13439,
    "h": 42.4
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#AF5128
secondary
#6DABC6
accent
#B4E642
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B05
muted
#837C7A

Preview Lab

Preview with #AF5128

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

Preview Lab → · Contrast checker → · Palette generator →

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