#AF512B#AF512B

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

Color values

HEX#AF512B
RGBrgb(175, 81, 43)
HSLhsl(17, 61%, 43%)
HSVhsv(17, 75%, 69%)
CMYKcmyk(0%, 53.7%, 75.4%, 31.4%)
CIE-LABlab(45.87, 35.86, 39.62)
CIE-LCHlch(45.87, 53.43, 47.85°)
OKLaboklab(54.69% 0.1001 0.0882)
OKLCHoklch(54.69% 0.133 41.4)
XYZxyz(21.0597, 15.1759, 4.1053)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF512B #2B89AF
analogous
#AF2B47 #AF512B #AF932B
triadic
#AF512B #2BAF51 #512BAF
tetradic
#AF512B #47AF2B #2B89AF #932BAF
square
#AF512B #47AF2B #2B89AF #932BAF
split-complementary
#AF512B #2BAF93 #2B47AF
monochromatic
#4D2413 #7E3A1F #AF512B #D16E46 #DE9477

Accessibility & contrast

On white

5.20
#AF512B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF512B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF512B#FFFFFF#000000##FFFFFF
##AF512B1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6026
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#C03D49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af512b;
/* rgb */ color: rgb(175, 81, 43);
/* oklch */ color: oklch(54.7% 0.133 41.4);
Tailwind
colors: {
  custom: {
    50: '#ce8466',
    500: '#af512b',
    950: '#000000',
  },
}
SCSS
$custom: #af512b;
$custom-light: #ce8466;
$custom-dark: #000000;
JSON
{
  "hex": "#af512b",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 17.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.13341,
    "h": 41.4
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#AF512B
secondary
#70ADC5
accent
#B6E444
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF512B

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

Preview Lab → · Contrast checker → · Palette generator →

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