#AF512A#AF512A

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

Color values

HEX#AF512A
RGBrgb(175, 81, 42)
HSLhsl(18, 61%, 43%)
HSVhsv(18, 76%, 69%)
CMYKcmyk(0%, 53.7%, 76%, 31.4%)
CIE-LABlab(45.86, 35.81, 40.12)
CIE-LCHlch(45.86, 53.78, 48.25°)
OKLaboklab(54.68% 0.0998 0.089)
OKLCHoklch(54.68% 0.134 41.7)
XYZxyz(21.0416, 15.1687, 4.0098)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF512A #2A88AF
analogous
#AF2A46 #AF512A #AF932A
triadic
#AF512A #2AAF51 #512AAF
tetradic
#AF512A #46AF2A #2A88AF #932AAF
square
#AF512A #46AF2A #2A88AF #932AAF
split-complementary
#AF512A #2AAF93 #2A46AF
monochromatic
#4C2312 #7E3A1E #AF512A #D26E44 #DE9475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF512A#FFFFFF#000000##FFFFFF
##AF512A1.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)
#6B6025
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#C03D49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af512a;
/* rgb */ color: rgb(175, 81, 42);
/* oklch */ color: oklch(54.7% 0.134 41.7);
Tailwind
colors: {
  custom: {
    50: '#ce8466',
    500: '#af512a',
    950: '#000000',
  },
}
SCSS
$custom: #af512a;
$custom-light: #ce8466;
$custom-dark: #000000;
JSON
{
  "hex": "#af512a",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 17.594,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.13374,
    "h": 41.7
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#AF512A
secondary
#6FACC6
accent
#B5E443
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF512A

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

Preview Lab → · Contrast checker → · Palette generator →

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