#AF512C#AF512C

#AF512C is a mid, vivid orange. Relative luminance 0.152; OKLCH L 54.7% C 0.133 H 41.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF512C
RGBrgb(175, 81, 44)
HSLhsl(17, 60%, 43%)
HSVhsv(17, 75%, 69%)
CMYKcmyk(0%, 53.7%, 74.9%, 31.4%)
CIE-LABlab(45.88, 35.90, 39.10)
CIE-LCHlch(45.88, 53.09, 47.44°)
OKLaboklab(54.7% 0.1005 0.0873)
OKLCHoklch(54.7% 0.133 41)
XYZxyz(21.0783, 15.1833, 4.2031)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF512C #2C8AAF
analogous
#AF2C48 #AF512C #AF932C
triadic
#AF512C #2CAF51 #512CAF
tetradic
#AF512C #48AF2C #2C8AAF #932CAF
square
#AF512C #48AF2C #2C8AAF #932CAF
split-complementary
#AF512C #2CAF93 #2C48AF
monochromatic
#4D2413 #7E3A20 #AF512C #D16E47 #DD9578

Accessibility & contrast

On white

5.20
#AF512C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF512C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF512C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF512C#FFFFFF#000000##FFFFFF
##AF512C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6028
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#C03D49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af512c;
/* rgb */ color: rgb(175, 81, 44);
/* oklch */ color: oklch(54.7% 0.133 41.0);
Tailwind
colors: {
  custom: {
    50: '#ce8467',
    500: '#af512c',
    950: '#000000',
  },
}
SCSS
$custom: #af512c;
$custom-light: #ce8467;
$custom-dark: #000000;
JSON
{
  "hex": "#af512c",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 16.947,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.13308,
    "h": 41
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#AF512C
secondary
#72AEC5
accent
#B6E345
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF512C

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

Preview Lab → · Contrast checker → · Palette generator →

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