#AF332E#AF332E

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

Color values

HEX#AF332E
RGBrgb(175, 51, 46)
HSLhsl(2, 58%, 43%)
HSVhsv(2, 74%, 69%)
CMYKcmyk(0%, 70.9%, 73.7%, 31.4%)
CIE-LABlab(40.71, 49.76, 32.30)
CIE-LCHlch(40.71, 59.32, 32.99°)
OKLaboklab(50.8% 0.1439 0.073)
OKLCHoklch(50.8% 0.161 26.9)
XYZxyz(19.3583, 11.6818, 3.8197)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF332E #2EAAAF
analogous
#AF2E69 #AF332E #AF742E
triadic
#AF332E #2EAF33 #332EAF
tetradic
#AF332E #69AF2E #2EAAAF #742EAF
square
#AF332E #69AF2E #2EAAAF #742EAF
split-complementary
#AF332E #2EAF74 #2E69AF
monochromatic
#4E1715 #7F2521 #AF332E #D0504B #DC7F7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF332E#FFFFFF#000000##FFFFFF
##AF332E1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af332e;
/* rgb */ color: rgb(175, 51, 46);
/* oklch */ color: oklch(50.8% 0.161 26.9);
Tailwind
colors: {
  custom: {
    50: '#cf7367',
    500: '#af332e',
    950: '#000000',
  },
}
SCSS
$custom: #af332e;
$custom-light: #cf7367;
$custom-dark: #000000;
JSON
{
  "hex": "#af332e",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 46
  },
  "hsl": {
    "h": 2.326,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.16133,
    "h": 26.9
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#AF332E
secondary
#74C2C5
accent
#DCE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF332E

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

Preview Lab → · Contrast checker → · Palette generator →

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