#AF4231#AF4231

#AF4231 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.6% C 0.146 H 31.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF4231
RGBrgb(175, 66, 49)
HSLhsl(8, 56%, 44%)
HSVhsv(8, 72%, 69%)
CMYKcmyk(0%, 62.3%, 72%, 31.4%)
CIE-LABlab(43.12, 43.50, 33.31)
CIE-LCHlch(43.12, 54.78, 37.44°)
OKLaboklab(52.62% 0.1249 0.0758)
OKLCHoklch(52.62% 0.146 31.3)
XYZxyz(20.1839, 13.2349, 4.3969)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4231 #319EAF
analogous
#AF315F #AF4231 #AF8131
triadic
#AF4231 #31AF42 #4231AF
tetradic
#AF4231 #5FAF31 #319EAF #8131AF
square
#AF4231 #5FAF31 #319EAF #8131AF
split-complementary
#AF4231 #31AF81 #315FAF
monochromatic
#4F1E16 #7F3024 #AF4231 #CE604F #DB8C7F

Accessibility & contrast

On white

5.76
#AF4231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF4231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4231
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4231#FFFFFF#000000##FFFFFF
##AF42311.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572F
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#C0283F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4231;
/* rgb */ color: rgb(175, 66, 49);
/* oklch */ color: oklch(52.6% 0.146 31.3);
Tailwind
colors: {
  custom: {
    50: '#ce7b6a',
    500: '#af4231',
    950: '#000000',
  },
}
SCSS
$custom: #af4231;
$custom-light: #ce7b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4231",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 8.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.14608,
    "h": 31.3
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#AF4231
secondary
#78BAC4
accent
#CBE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF4231

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

Preview Lab → · Contrast checker → · Palette generator →

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