#AF512D#AF512D

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

Color values

HEX#AF512D
RGBrgb(175, 81, 45)
HSLhsl(17, 59%, 43%)
HSVhsv(17, 74%, 69%)
CMYKcmyk(0%, 53.7%, 74.3%, 31.4%)
CIE-LABlab(45.89, 35.95, 38.59)
CIE-LCHlch(45.89, 52.74, 47.03°)
OKLaboklab(54.71% 0.1008 0.0864)
OKLCHoklch(54.71% 0.133 40.6)
XYZxyz(21.0973, 15.1909, 4.3033)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF512D #2D8BAF
analogous
#AF2D4A #AF512D #AF922D
triadic
#AF512D #2DAF51 #512DAF
tetradic
#AF512D #4AAF2D #2D8BAF #922DAF
square
#AF512D #4AAF2D #2D8BAF #922DAF
split-complementary
#AF512D #2DAF92 #2D4AAF
monochromatic
#4E2414 #7E3A20 #AF512D #D06E49 #DD957A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF512D#FFFFFF#000000##FFFFFF
##AF512D1.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)
#6B6029
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#C03D49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af512d;
/* rgb */ color: rgb(175, 81, 45);
/* oklch */ color: oklch(54.7% 0.133 40.6);
Tailwind
colors: {
  custom: {
    50: '#cd8468',
    500: '#af512d',
    950: '#000000',
  },
}
SCSS
$custom: #af512d;
$custom-light: #cd8468;
$custom-dark: #000000;
JSON
{
  "hex": "#af512d",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 16.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.13275,
    "h": 40.6
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#AF512D
secondary
#73AEC5
accent
#B7E246
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF512D

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

Preview Lab → · Contrast checker → · Palette generator →

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