#AF3F2F#AF3F2F

#AF3F2F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.150 H 30.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3F2F
RGBrgb(175, 63, 47)
HSLhsl(8, 58%, 44%)
HSVhsv(8, 73%, 69%)
CMYKcmyk(0%, 64%, 73.1%, 31.4%)
CIE-LABlab(42.58, 44.77, 33.84)
CIE-LCHlch(42.58, 56.12, 37.08°)
OKLaboklab(52.21% 0.1284 0.0766)
OKLCHoklch(52.21% 0.15 30.8)
XYZxyz(19.9719, 12.8770, 4.1226)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F2F #2F9FAF
analogous
#AF2F5F #AF3F2F #AF7F2F
triadic
#AF3F2F #2FAF3F #3F2FAF
tetradic
#AF3F2F #5FAF2F #2F9FAF #7F2FAF
square
#AF3F2F #5FAF2F #2F9FAF #7F2FAF
split-complementary
#AF3F2F #2FAF7F #2F5FAF
monochromatic
#4F1C15 #7F2E22 #AF3F2F #CF5D4C #DC887C

Accessibility & contrast

On white

5.87
#AF3F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F2F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F2F#FFFFFF#000000##FFFFFF
##AF3F2F1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552D
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#C0233C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3f2f;
/* rgb */ color: rgb(175, 63, 47);
/* oklch */ color: oklch(52.2% 0.150 30.8);
Tailwind
colors: {
  custom: {
    50: '#ce7968',
    500: '#af3f2f',
    950: '#000000',
  },
}
SCSS
$custom: #af3f2f;
$custom-light: #ce7968;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f2f",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 7.5,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.14952,
    "h": 30.8
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#AF3F2F
secondary
#75BBC4
accent
#CEE147
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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