#AF3331#AF3331

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

Color values

HEX#AF3331
RGBrgb(175, 51, 49)
HSLhsl(1, 56%, 44%)
HSVhsv(1, 72%, 69%)
CMYKcmyk(0%, 70.9%, 72%, 31.4%)
CIE-LABlab(40.75, 49.90, 30.57)
CIE-LCHlch(40.75, 58.52, 31.50°)
OKLaboklab(50.84% 0.1449 0.0699)
OKLCHoklch(50.84% 0.161 25.7)
XYZxyz(19.4195, 11.7063, 4.1421)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3331 #31ADAF
analogous
#AF316E #AF3331 #AF7231
triadic
#AF3331 #31AF33 #3331AF
tetradic
#AF3331 #6EAF31 #31ADAF #7231AF
square
#AF3331 #6EAF31 #31ADAF #7231AF
split-complementary
#AF3331 #31AF72 #316EAF
monochromatic
#4F1716 #7F2524 #AF3331 #CE514F #DB817F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3331#FFFFFF#000000##FFFFFF
##AF33311.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)
#564F30
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#C10634
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3331;
/* rgb */ color: rgb(175, 51, 49);
/* oklch */ color: oklch(50.8% 0.161 25.7);
Tailwind
colors: {
  custom: {
    50: '#cf7369',
    500: '#af3331',
    950: '#000000',
  },
}
SCSS
$custom: #af3331;
$custom-light: #cf7369;
$custom-dark: #000000;
JSON
{
  "hex": "#af3331",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 49
  },
  "hsl": {
    "h": 0.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.1609,
    "h": 25.7
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#AF3331
secondary
#78C3C4
accent
#DDE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3331

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

Preview Lab → · Contrast checker → · Palette generator →

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