#AF3F2E#AF3F2E

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

Color values

HEX#AF3F2E
RGBrgb(175, 63, 46)
HSLhsl(8, 58%, 43%)
HSVhsv(8, 74%, 69%)
CMYKcmyk(0%, 64%, 73.7%, 31.4%)
CIE-LABlab(42.57, 44.72, 34.39)
CIE-LCHlch(42.57, 56.42, 37.56°)
OKLaboklab(52.19% 0.1281 0.0776)
OKLCHoklch(52.19% 0.15 31.2)
XYZxyz(19.9520, 12.8690, 4.0176)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F2E #2E9EAF
analogous
#AF2E5D #AF3F2E #AF7F2E
triadic
#AF3F2E #2EAF3F #3F2EAF
tetradic
#AF3F2E #5DAF2E #2E9EAF #7F2EAF
square
#AF3F2E #5DAF2E #2E9EAF #7F2EAF
split-complementary
#AF3F2E #2EAF7F #2E5DAF
monochromatic
#4E1C15 #7F2E21 #AF3F2E #D05C4B #DC887B

Accessibility & contrast

On white

5.88
#AF3F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3F2E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F2E#FFFFFF#000000##FFFFFF
##AF3F2E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3f2e;
/* rgb */ color: rgb(175, 63, 46);
/* oklch */ color: oklch(52.2% 0.150 31.2);
Tailwind
colors: {
  custom: {
    50: '#ce7967',
    500: '#af3f2e',
    950: '#000000',
  },
}
SCSS
$custom: #af3f2e;
$custom-light: #ce7967;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f2e",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 46
  },
  "hsl": {
    "h": 7.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.14973,
    "h": 31.2
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#AF3F2E
secondary
#74BAC5
accent
#CDE246
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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