#AF3F28#AF3F28

#AF3F28 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.1% C 0.151 H 33.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3F28
RGBrgb(175, 63, 40)
HSLhsl(10, 63%, 42%)
HSVhsv(10, 77%, 69%)
CMYKcmyk(0%, 64%, 77.1%, 31.4%)
CIE-LABlab(42.50, 44.46, 37.65)
CIE-LCHlch(42.50, 58.26, 40.26°)
OKLaboklab(52.12% 0.1261 0.0832)
OKLCHoklch(52.12% 0.151 33.4)
XYZxyz(19.8419, 12.8250, 3.4377)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F28 #2898AF
analogous
#AF2855 #AF3F28 #AF8328
triadic
#AF3F28 #28AF3F #3F28AF
tetradic
#AF3F28 #55AF28 #2898AF #8328AF
square
#AF3F28 #55AF28 #2898AF #8328AF
split-complementary
#AF3F28 #28AF83 #2855AF
monochromatic
#4B1B11 #7D2D1D #AF3F28 #D45A41 #DF8573

Accessibility & contrast

On white

5.89
#AF3F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF3F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F28
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F28#FFFFFF#000000##FFFFFF
##AF3F281.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5525
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#C1223A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3f28;
/* rgb */ color: rgb(175, 63, 40);
/* oklch */ color: oklch(52.1% 0.151 33.4);
Tailwind
colors: {
  custom: {
    50: '#cf7963',
    500: '#af3f28',
    950: '#000000',
  },
}
SCSS
$custom: #af3f28;
$custom-light: #cf7963;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f28",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 10.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.15103,
    "h": 33.4
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#AF3F28
secondary
#6DB7C6
accent
#CAE642
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF3F28

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

Preview Lab → · Contrast checker → · Palette generator →

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