#AF512F#AF512F

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

Color values

HEX#AF512F
RGBrgb(175, 81, 47)
HSLhsl(16, 58%, 44%)
HSVhsv(16, 73%, 69%)
CMYKcmyk(0%, 53.7%, 73.1%, 31.4%)
CIE-LABlab(45.92, 36.05, 37.55)
CIE-LCHlch(45.92, 52.05, 46.17°)
OKLaboklab(54.73% 0.1014 0.0846)
OKLCHoklch(54.73% 0.132 39.8)
XYZxyz(21.1368, 15.2067, 4.5109)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF512F #2F8DAF
analogous
#AF2F4D #AF512F #AF912F
triadic
#AF512F #2FAF51 #512FAF
tetradic
#AF512F #4DAF2F #2F8DAF #912FAF
square
#AF512F #4DAF2F #2F8DAF #912FAF
split-complementary
#AF512F #2FAF91 #2F4DAF
monochromatic
#4F2415 #7F3B22 #AF512F #CF6F4C #DC967C

Accessibility & contrast

On white

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

On black

4.04
#AF512F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF512F#FFFFFF#000000##FFFFFF
##AF512F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602B
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#C03D4A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af512f;
/* rgb */ color: rgb(175, 81, 47);
/* oklch */ color: oklch(54.7% 0.132 39.8);
Tailwind
colors: {
  custom: {
    50: '#cd8469',
    500: '#af512f',
    950: '#000000',
  },
}
SCSS
$custom: #af512f;
$custom-light: #cd8469;
$custom-dark: #000000;
JSON
{
  "hex": "#af512f",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 15.937,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.13209,
    "h": 39.8
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AF512F
secondary
#75AFC4
accent
#B8E147
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF512F

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

Preview Lab → · Contrast checker → · Palette generator →

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