#AF4F2F#AF4F2F

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

Color values

HEX#AF4F2F
RGBrgb(175, 79, 47)
HSLhsl(15, 58%, 44%)
HSVhsv(15, 73%, 69%)
CMYKcmyk(0%, 54.9%, 73.1%, 31.4%)
CIE-LABlab(45.52, 37.07, 37.11)
CIE-LCHlch(45.52, 52.45, 45.03°)
OKLaboklab(54.43% 0.1046 0.0837)
OKLCHoklch(54.43% 0.134 38.7)
XYZxyz(20.9903, 14.9138, 4.4621)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F2F #2F8FAF
analogous
#AF2F4F #AF4F2F #AF8F2F
triadic
#AF4F2F #2FAF4F #4F2FAF
tetradic
#AF4F2F #4FAF2F #2F8FAF #8F2FAF
square
#AF4F2F #4FAF2F #2F8FAF #8F2FAF
split-complementary
#AF4F2F #2FAF8F #2F4FAF
monochromatic
#4F2315 #7F3922 #AF4F2F #CF6D4C #DC947C

Accessibility & contrast

On white

5.27
#AF4F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF4F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F2F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F2F#FFFFFF#000000##FFFFFF
##AF4F2F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2B
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#C03B48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4f2f;
/* rgb */ color: rgb(175, 79, 47);
/* oklch */ color: oklch(54.4% 0.134 38.7);
Tailwind
colors: {
  custom: {
    50: '#cd8369',
    500: '#af4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #af4f2f;
$custom-light: #cd8369;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f2f",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 15,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.13392,
    "h": 38.7
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#AF4F2F
secondary
#75B1C4
accent
#BAE147
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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