#AF5727#AF5727

#AF5727 is a mid, vivid orange. Relative luminance 0.161; OKLCH L 55.6% C 0.130 H 46.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF5727
RGBrgb(175, 87, 39)
HSLhsl(21, 64%, 42%)
HSVhsv(21, 78%, 69%)
CMYKcmyk(0%, 50.3%, 77.7%, 31.4%)
CIE-LABlab(47.08, 32.55, 42.87)
CIE-LCHlch(47.08, 53.83, 52.79°)
OKLaboklab(55.59% 0.0894 0.0942)
OKLCHoklch(55.59% 0.13 46.5)
XYZxyz(21.4557, 16.0795, 3.8928)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5727 #277FAF
analogous
#AF273B #AF5727 #AF9B27
triadic
#AF5727 #27AF57 #5727AF
tetradic
#AF5727 #3BAF27 #277FAF #9B27AF
square
#AF5727 #3BAF27 #277FAF #9B27AF
split-complementary
#AF5727 #27AF9B #273BAF
monochromatic
#4B2511 #7D3E1C #AF5727 #D4743F #DF9871

Accessibility & contrast

On white

4.98
#AF5727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF5727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5727
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5727#FFFFFF#000000##FFFFFF
##AF57271.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706321
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#C0444D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5727;
/* rgb */ color: rgb(175, 87, 39);
/* oklch */ color: oklch(55.6% 0.130 46.5);
Tailwind
colors: {
  custom: {
    50: '#cd8864',
    500: '#af5727',
    950: '#000000',
  },
}
SCSS
$custom: #af5727;
$custom-light: #cd8864;
$custom-dark: #000000;
JSON
{
  "hex": "#af5727",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 39
  },
  "hsl": {
    "h": 21.176,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.12984,
    "h": 46.5
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#AF5727
secondary
#6BA6C6
accent
#ACE741
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF5727

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

Preview Lab → · Contrast checker → · Palette generator →

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