#AF4D2D#AF4D2D

#AF4D2D is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.1% C 0.136 H 38.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF4D2D
RGBrgb(175, 77, 45)
HSLhsl(15, 59%, 43%)
HSVhsv(15, 74%, 69%)
CMYKcmyk(0%, 56%, 74.3%, 31.4%)
CIE-LABlab(45.10, 37.99, 37.73)
CIE-LCHlch(45.10, 53.54, 44.81°)
OKLaboklab(54.11% 0.107 0.0846)
OKLCHoklch(54.11% 0.136 38.3)
XYZxyz(20.8088, 14.6139, 4.2071)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D2D #2D8FAF
analogous
#AF2D4E #AF4D2D #AF8E2D
triadic
#AF4D2D #2DAF4D #4D2DAF
tetradic
#AF4D2D #4EAF2D #2D8FAF #8E2DAF
square
#AF4D2D #4EAF2D #2D8FAF #8E2DAF
split-complementary
#AF4D2D #2DAF8E #2D4EAF
monochromatic
#4E2214 #7E3820 #AF4D2D #D06A49 #DD927A

Accessibility & contrast

On white

5.35
#AF4D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D2D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D2D#FFFFFF#000000##FFFFFF
##AF4D2D1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D29
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#C03846
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4d2d;
/* rgb */ color: rgb(175, 77, 45);
/* oklch */ color: oklch(54.1% 0.136 38.3);
Tailwind
colors: {
  custom: {
    50: '#ce8267',
    500: '#af4d2d',
    950: '#000000',
  },
}
SCSS
$custom: #af4d2d;
$custom-light: #ce8267;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d2d",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 14.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.1364,
    "h": 38.3
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#AF4D2D
secondary
#73B1C5
accent
#BCE246
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF4D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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