#AF5338#AF5338

#AF5338 is a mid, vivid red. Relative luminance 0.156; OKLCH L 55.2% C 0.127 H 37.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF5338
RGBrgb(175, 83, 56)
HSLhsl(14, 52%, 45%)
HSVhsv(14, 68%, 69%)
CMYKcmyk(0%, 52.6%, 68%, 31.4%)
CIE-LABlab(46.43, 35.50, 33.18)
CIE-LCHlch(46.43, 48.59, 43.07°)
OKLaboklab(55.16% 0.1014 0.0768)
OKLCHoklch(55.16% 0.127 37.1)
XYZxyz(21.4882, 15.5886, 5.6179)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5338 #3894AF
analogous
#AF3859 #AF5338 #AF8E38
triadic
#AF5338 #38AF53 #5338AF
tetradic
#AF5338 #59AF38 #3894AF #8E38AF
square
#AF5338 #59AF38 #3894AF #8E38AF
split-complementary
#AF5338 #38AF8E #3859AF
monochromatic
#52271A #813D29 #AF5338 #CA735A #D99B88

Accessibility & contrast

On white

5.10
#AF5338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF5338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5338
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5338#FFFFFF#000000##FFFFFF
##AF53381.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6235
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#C0414D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af5338;
/* rgb */ color: rgb(175, 83, 56);
/* oklch */ color: oklch(55.2% 0.127 37.1);
Tailwind
colors: {
  custom: {
    50: '#cd856f',
    500: '#af5338',
    950: '#000000',
  },
}
SCSS
$custom: #af5338;
$custom-light: #cd856f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5338",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 13.613,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.1272,
    "h": 37.1
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#AF5338
secondary
#80B4C3
accent
#BBDB4D
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#150B07
muted
#837C7A

Preview Lab

Preview with #AF5338

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

Preview Lab → · Contrast checker → · Palette generator →

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