#AF332D#AF332D

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

Color values

HEX#AF332D
RGBrgb(175, 51, 45)
HSLhsl(3, 59%, 43%)
HSVhsv(3, 74%, 69%)
CMYKcmyk(0%, 70.9%, 74.3%, 31.4%)
CIE-LABlab(40.69, 49.71, 32.87)
CIE-LCHlch(40.69, 59.60, 33.47°)
OKLaboklab(50.79% 0.1435 0.074)
OKLCHoklch(50.79% 0.161 27.3)
XYZxyz(19.3389, 11.6740, 3.7171)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF332D #2DA9AF
analogous
#AF2D68 #AF332D #AF742D
triadic
#AF332D #2DAF33 #332DAF
tetradic
#AF332D #68AF2D #2DA9AF #742DAF
square
#AF332D #68AF2D #2DA9AF #742DAF
split-complementary
#AF332D #2DAF74 #2D68AF
monochromatic
#4E1714 #7E2520 #AF332D #D04F49 #DD7E7A

Accessibility & contrast

On white

6.30
#AF332D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF332D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF332D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF332D#FFFFFF#000000##FFFFFF
##AF332D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C10433
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af332d;
/* rgb */ color: rgb(175, 51, 45);
/* oklch */ color: oklch(50.8% 0.161 27.3);
Tailwind
colors: {
  custom: {
    50: '#cf7366',
    500: '#af332d',
    950: '#000000',
  },
}
SCSS
$custom: #af332d;
$custom-light: #cf7366;
$custom-dark: #000000;
JSON
{
  "hex": "#af332d",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 45
  },
  "hsl": {
    "h": 2.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50785,
    "c": 0.16148,
    "h": 27.3
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#AF332D
secondary
#73C1C5
accent
#DBE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF332D

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

Preview Lab → · Contrast checker → · Palette generator →

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