#AF3E2B#AF3E2B

#AF3E2B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.0% C 0.151 H 31.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3E2B
RGBrgb(175, 62, 43)
HSLhsl(9, 61%, 43%)
HSVhsv(9, 75%, 69%)
CMYKcmyk(0%, 64.6%, 75.4%, 31.4%)
CIE-LABlab(42.36, 45.03, 35.85)
CIE-LCHlch(42.36, 57.56, 38.53°)
OKLaboklab(52.03% 0.1284 0.08)
OKLCHoklch(52.03% 0.151 31.9)
XYZxyz(19.8400, 12.7365, 3.6987)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E2B #2B9CAF
analogous
#AF2B5A #AF3E2B #AF802B
triadic
#AF3E2B #2BAF3E #3E2BAF
tetradic
#AF3E2B #5AAF2B #2B9CAF #802BAF
square
#AF3E2B #5AAF2B #2B9CAF #802BAF
split-complementary
#AF3E2B #2BAF80 #2B5AAF
monochromatic
#4D1B13 #7E2D1F #AF3E2B #D15A46 #DE8677

Accessibility & contrast

On white

5.92
#AF3E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E2B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E2B#FFFFFF#000000##FFFFFF
##AF3E2B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5428
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#C1203A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3e2b;
/* rgb */ color: rgb(175, 62, 43);
/* oklch */ color: oklch(52.0% 0.151 31.9);
Tailwind
colors: {
  custom: {
    50: '#cf7965',
    500: '#af3e2b',
    950: '#000000',
  },
}
SCSS
$custom: #af3e2b;
$custom-light: #cf7965;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e2b",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 43
  },
  "hsl": {
    "h": 8.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.15134,
    "h": 31.9
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#AF3E2B
secondary
#70B9C5
accent
#CDE444
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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