#AF332C#AF332C

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

Color values

HEX#AF332C
RGBrgb(175, 51, 44)
HSLhsl(3, 60%, 43%)
HSVhsv(3, 75%, 69%)
CMYKcmyk(0%, 70.9%, 74.9%, 31.4%)
CIE-LABlab(40.68, 49.67, 33.43)
CIE-LCHlch(40.68, 59.87, 33.95°)
OKLaboklab(50.77% 0.1432 0.075)
OKLCHoklch(50.77% 0.162 27.7)
XYZxyz(19.3198, 11.6664, 3.6169)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF332C #2CA8AF
analogous
#AF2C66 #AF332C #AF742C
triadic
#AF332C #2CAF33 #332CAF
tetradic
#AF332C #66AF2C #2CA8AF #742CAF
square
#AF332C #66AF2C #2CA8AF #742CAF
split-complementary
#AF332C #2CAF74 #2C66AF
monochromatic
#4D1613 #7E2520 #AF332C #D14F47 #DD7E78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF332C#FFFFFF#000000##FFFFFF
##AF332C1.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)
#574F2A
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#C10333
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af332c;
/* rgb */ color: rgb(175, 51, 44);
/* oklch */ color: oklch(50.8% 0.162 27.7);
Tailwind
colors: {
  custom: {
    50: '#cf7366',
    500: '#af332c',
    950: '#000000',
  },
}
SCSS
$custom: #af332c;
$custom-light: #cf7366;
$custom-dark: #000000;
JSON
{
  "hex": "#af332c",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 44
  },
  "hsl": {
    "h": 3.206,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.16163,
    "h": 27.7
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#AF332C
secondary
#72C1C5
accent
#DBE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF332C

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

Preview Lab → · Contrast checker → · Palette generator →

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