#AF332B#AF332B

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

Color values

HEX#AF332B
RGBrgb(175, 51, 43)
HSLhsl(4, 61%, 43%)
HSVhsv(4, 75%, 69%)
CMYKcmyk(0%, 70.9%, 75.4%, 31.4%)
CIE-LABlab(40.67, 49.63, 34.00)
CIE-LCHlch(40.67, 60.16, 34.41°)
OKLaboklab(50.76% 0.1428 0.076)
OKLCHoklch(50.76% 0.162 28)
XYZxyz(19.3013, 11.6589, 3.5191)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF332B #2BA7AF
analogous
#AF2B65 #AF332B #AF752B
triadic
#AF332B #2BAF33 #332BAF
tetradic
#AF332B #65AF2B #2BA7AF #752BAF
square
#AF332B #65AF2B #2BA7AF #752BAF
split-complementary
#AF332B #2BAF75 #2B65AF
monochromatic
#4D1613 #7E251F #AF332B #D14E46 #DE7D77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF332B#FFFFFF#000000##FFFFFF
##AF332B1.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)
#574F29
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#C10332
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af332b;
/* rgb */ color: rgb(175, 51, 43);
/* oklch */ color: oklch(50.8% 0.162 28.0);
Tailwind
colors: {
  custom: {
    50: '#cf7365',
    500: '#af332b',
    950: '#000000',
  },
}
SCSS
$custom: #af332b;
$custom-light: #cf7365;
$custom-dark: #000000;
JSON
{
  "hex": "#af332b",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 43
  },
  "hsl": {
    "h": 3.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.16179,
    "h": 28
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#AF332B
secondary
#70C0C5
accent
#DAE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AF332B

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

Preview Lab → · Contrast checker → · Palette generator →

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