#AF4237#AF4237

#AF4237 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.7% C 0.145 H 28.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF4237
RGBrgb(175, 66, 55)
HSLhsl(6, 52%, 45%)
HSVhsv(6, 69%, 69%)
CMYKcmyk(0%, 62.3%, 68.6%, 31.4%)
CIE-LABlab(43.20, 43.81, 29.93)
CIE-LCHlch(43.20, 53.06, 34.33°)
OKLaboklab(52.71% 0.1271 0.0695)
OKLCHoklch(52.71% 0.145 28.7)
XYZxyz(20.3190, 13.2890, 5.1088)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4237 #37A4AF
analogous
#AF3768 #AF4237 #AF7E37
triadic
#AF4237 #37AF42 #4237AF
tetradic
#AF4237 #68AF37 #37A4AF #7E37AF
square
#AF4237 #68AF37 #37A4AF #7E37AF
split-complementary
#AF4237 #37AF7E #3768AF
monochromatic
#521F1A #803028 #AF4237 #CB6359 #D98F87

Accessibility & contrast

On white

5.74
#AF4237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF4237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4237
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4237#FFFFFF#000000##FFFFFF
##AF42371.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#C02A40
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4237;
/* rgb */ color: rgb(175, 66, 55);
/* oklch */ color: oklch(52.7% 0.145 28.7);
Tailwind
colors: {
  custom: {
    50: '#ce7b6e',
    500: '#af4237',
    950: '#000000',
  },
}
SCSS
$custom: #af4237;
$custom-light: #ce7b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4237",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 55
  },
  "hsl": {
    "h": 5.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.14482,
    "h": 28.7
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#AF4237
secondary
#7FBDC3
accent
#CEDC4C
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4237

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

Preview Lab → · Contrast checker → · Palette generator →

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