#AF5235#AF5235

#AF5235 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.0% C 0.129 H 37.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF5235
RGBrgb(175, 82, 53)
HSLhsl(14, 54%, 45%)
HSVhsv(14, 70%, 69%)
CMYKcmyk(0%, 53.1%, 69.7%, 31.4%)
CIE-LABlab(46.19, 35.85, 34.58)
CIE-LCHlch(46.19, 49.80, 43.97°)
OKLaboklab(54.96% 0.1019 0.0793)
OKLCHoklch(54.96% 0.129 37.9)
XYZxyz(21.3411, 15.4082, 5.2177)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5235 #3592AF
analogous
#AF3555 #AF5235 #AF8F35
triadic
#AF5235 #35AF52 #5235AF
tetradic
#AF5235 #55AF35 #3592AF #8F35AF
square
#AF5235 #55AF35 #3592AF #8F35AF
split-complementary
#AF5235 #35AF8F #3555AF
monochromatic
#512619 #803C27 #AF5235 #CC7256 #DA9985

Accessibility & contrast

On white

5.15
#AF5235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF5235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5235
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5235#FFFFFF#000000##FFFFFF
##AF52351.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6132
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#C03F4B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5235;
/* rgb */ color: rgb(175, 82, 53);
/* oklch */ color: oklch(55.0% 0.129 37.9);
Tailwind
colors: {
  custom: {
    50: '#cd856d',
    500: '#af5235',
    950: '#000000',
  },
}
SCSS
$custom: #af5235;
$custom-light: #cd856d;
$custom-dark: #000000;
JSON
{
  "hex": "#af5235",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 53
  },
  "hsl": {
    "h": 14.262,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.12915,
    "h": 37.9
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#AF5235
secondary
#7CB3C4
accent
#BADD4B
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B07
muted
#837C7A

Preview Lab

Preview with #AF5235

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

Preview Lab → · Contrast checker → · Palette generator →

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