#AF4E2A#AF4E2A

#AF4E2A is a mid, vivid orange. Relative luminance 0.147; OKLCH L 54.2% C 0.136 H 40.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF4E2A
RGBrgb(175, 78, 42)
HSLhsl(16, 61%, 43%)
HSVhsv(16, 76%, 69%)
CMYKcmyk(0%, 55.4%, 76%, 31.4%)
CIE-LABlab(45.27, 37.35, 39.49)
CIE-LCHlch(45.27, 54.36, 46.60°)
OKLaboklab(54.22% 0.1045 0.0877)
OKLCHoklch(54.22% 0.136 40)
XYZxyz(20.8236, 14.7326, 3.9372)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E2A #2A8BAF
analogous
#AF2A48 #AF4E2A #AF912A
triadic
#AF4E2A #2AAF4E #4E2AAF
tetradic
#AF4E2A #48AF2A #2A8BAF #912AAF
square
#AF4E2A #48AF2A #2A8BAF #912AAF
split-complementary
#AF4E2A #2AAF91 #2A48AF
monochromatic
#4C2212 #7E381E #AF4E2A #D26B44 #DE9275

Accessibility & contrast

On white

5.32
#AF4E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF4E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E2A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E2A#FFFFFF#000000##FFFFFF
##AF4E2A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E26
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#C03946
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4e2a;
/* rgb */ color: rgb(175, 78, 42);
/* oklch */ color: oklch(54.2% 0.136 40.0);
Tailwind
colors: {
  custom: {
    50: '#ce8265',
    500: '#af4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #af4e2a;
$custom-light: #ce8265;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e2a",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 16.241,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.13641,
    "h": 40
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#AF4E2A
secondary
#6FAEC6
accent
#B9E443
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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