#AF6A42#AF6A42

#AF6A42 is a mid, moderate orange. Relative luminance 0.198; OKLCH L 59.2% C 0.104 H 49.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF6A42
RGBrgb(175, 106, 66)
HSLhsl(22, 45%, 47%)
HSVhsv(22, 62%, 69%)
CMYKcmyk(0%, 39.4%, 62.3%, 31.4%)
CIE-LABlab(51.63, 23.72, 33.81)
CIE-LCHlch(51.63, 41.30, 54.95°)
OKLaboklab(59.19% 0.0672 0.0795)
OKLCHoklch(59.19% 0.104 49.8)
XYZxyz(23.8183, 19.8177, 7.7240)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6A42 #4287AF
analogous
#AF4251 #AF6A42 #AFA042
triadic
#AF6A42 #42AF6A #6A42AF
tetradic
#AF6A42 #51AF42 #4287AF #A042AF
square
#AF6A42 #51AF42 #4287AF #A042AF
split-complementary
#AF6A42 #42AFA0 #4251AF
monochromatic
#563420 #834F31 #AF6A42 #C68B68 #D7AD95

Accessibility & contrast

On white

4.23
#AF6A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AF6A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6A42
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6A42#FFFFFF#000000##000000
##AF6A421.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#8E8142
Tritanopia (blue-blind)
#BE5D60
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af6a42;
/* rgb */ color: rgb(175, 106, 66);
/* oklch */ color: oklch(59.2% 0.104 49.8);
Tailwind
colors: {
  custom: {
    50: '#cb9577',
    500: '#af6a42',
    950: '#000000',
  },
}
SCSS
$custom: #af6a42;
$custom-light: #cb9577;
$custom-dark: #000000;
JSON
{
  "hex": "#af6a42",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 22.018,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.10409,
    "h": 49.8
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#AF6A42
secondary
#8AAEC2
accent
#A5D553
background
#FDF9F7
surface
#FAF1ED
border
#D3CBC8
text
#140D09
muted
#837E7B

Preview Lab

Preview with #AF6A42

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

Preview Lab → · Contrast checker → · Palette generator →

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