#AF4F2A#AF4F2A

#AF4F2A is a mid, vivid orange. Relative luminance 0.149; OKLCH L 54.4% C 0.136 H 40.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF4F2A
RGBrgb(175, 79, 42)
HSLhsl(17, 61%, 43%)
HSVhsv(17, 76%, 69%)
CMYKcmyk(0%, 54.9%, 76%, 31.4%)
CIE-LABlab(45.46, 36.84, 39.70)
CIE-LCHlch(45.46, 54.16, 47.14°)
OKLaboklab(54.37% 0.103 0.0881)
OKLCHoklch(54.37% 0.136 40.6)
XYZxyz(20.8952, 14.8758, 3.9610)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F2A #2A8AAF
analogous
#AF2A47 #AF4F2A #AF922A
triadic
#AF4F2A #2AAF4F #4F2AAF
tetradic
#AF4F2A #47AF2A #2A8AAF #922AAF
square
#AF4F2A #47AF2A #2A8AAF #922AAF
split-complementary
#AF4F2A #2AAF92 #2A47AF
monochromatic
#4C2212 #7E391E #AF4F2A #D26C44 #DE9375

Accessibility & contrast

On white

5.28
#AF4F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF4F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F2A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F2A#FFFFFF#000000##FFFFFF
##AF4F2A1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E25
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#C03A47
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4f2a;
/* rgb */ color: rgb(175, 79, 42);
/* oklch */ color: oklch(54.4% 0.136 40.6);
Tailwind
colors: {
  custom: {
    50: '#ce8366',
    500: '#af4f2a',
    950: '#000000',
  },
}
SCSS
$custom: #af4f2a;
$custom-light: #ce8366;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f2a",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 42
  },
  "hsl": {
    "h": 16.692,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.13551,
    "h": 40.6
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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