#AF4037#AF4037

#AF4037 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.4% C 0.147 H 27.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF4037
RGBrgb(175, 64, 55)
HSLhsl(5, 52%, 45%)
HSVhsv(5, 69%, 69%)
CMYKcmyk(0%, 63.4%, 68.6%, 31.4%)
CIE-LABlab(42.85, 44.73, 29.52)
CIE-LCHlch(42.85, 53.59, 33.42°)
OKLaboklab(52.45% 0.1299 0.0686)
OKLCHoklch(52.45% 0.147 27.8)
XYZxyz(20.2042, 13.0594, 5.0705)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4037 #37A6AF
analogous
#AF376A #AF4037 #AF7C37
triadic
#AF4037 #37AF40 #4037AF
tetradic
#AF4037 #6AAF37 #37A6AF #7C37AF
square
#AF4037 #6AAF37 #37A6AF #7C37AF
split-complementary
#AF4037 #37AF7C #376AAF
monochromatic
#521E1A #802F28 #AF4037 #CB6159 #D98D87

Accessibility & contrast

On white

5.81
#AF4037 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF4037 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4037
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4037#FFFFFF#000000##FFFFFF
##AF40371.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5635
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#C0263F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af4037;
/* rgb */ color: rgb(175, 64, 55);
/* oklch */ color: oklch(52.4% 0.147 27.8);
Tailwind
colors: {
  custom: {
    50: '#ce7a6e',
    500: '#af4037',
    950: '#000000',
  },
}
SCSS
$custom: #af4037;
$custom-light: #ce7a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4037",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 55
  },
  "hsl": {
    "h": 4.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.14691,
    "h": 27.8
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#AF4037
secondary
#7FBEC3
accent
#D1DC4C
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF4037

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

Preview Lab → · Contrast checker → · Palette generator →

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