#AF332F#AF332F

#AF332F is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.161 H 26.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF332F
RGBrgb(175, 51, 47)
HSLhsl(2, 58%, 44%)
HSVhsv(2, 73%, 69%)
CMYKcmyk(0%, 70.9%, 73.1%, 31.4%)
CIE-LABlab(40.72, 49.80, 31.72)
CIE-LCHlch(40.72, 59.05, 32.50°)
OKLaboklab(50.81% 0.1442 0.072)
OKLCHoklch(50.81% 0.161 26.5)
XYZxyz(19.3783, 11.6897, 3.9247)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF332F #2FABAF
analogous
#AF2F6B #AF332F #AF732F
triadic
#AF332F #2FAF33 #332FAF
tetradic
#AF332F #6BAF2F #2FABAF #732FAF
square
#AF332F #6BAF2F #2FABAF #732FAF
split-complementary
#AF332F #2FAF73 #2F6BAF
monochromatic
#4F1715 #7F2522 #AF332F #CF504C #DC7F7C

Accessibility & contrast

On white

6.29
#AF332F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF332F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF332F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF332F#FFFFFF#000000##FFFFFF
##AF332F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2D
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#C10533
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af332f;
/* rgb */ color: rgb(175, 51, 47);
/* oklch */ color: oklch(50.8% 0.161 26.5);
Tailwind
colors: {
  custom: {
    50: '#cf7368',
    500: '#af332f',
    950: '#000000',
  },
}
SCSS
$custom: #af332f;
$custom-light: #cf7368;
$custom-dark: #000000;
JSON
{
  "hex": "#af332f",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 47
  },
  "hsl": {
    "h": 1.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.16118,
    "h": 26.5
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#AF332F
secondary
#75C2C4
accent
#DCE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF332F

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

Preview Lab → · Contrast checker → · Palette generator →

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