#AF3334#AF3334

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

Color values

HEX#AF3334
RGBrgb(175, 51, 52)
HSLhsl(360, 55%, 44%)
HSVhsv(360, 71%, 69%)
CMYKcmyk(0%, 70.9%, 70.3%, 31.4%)
CIE-LABlab(40.79, 50.05, 28.83)
CIE-LCHlch(40.79, 57.76, 29.94°)
OKLaboklab(50.89% 0.1461 0.0666)
OKLCHoklch(50.89% 0.161 24.5)
XYZxyz(19.4850, 11.7324, 4.4867)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3334 #33AFAE
analogous
#AF3372 #AF3334 #AF7033
triadic
#AF3334 #34AF33 #3334AF
tetradic
#AF3334 #72AF33 #33AFAE #7033AF
square
#AF3334 #72AF33 #33AFAE #7033AF
split-complementary
#AF3334 #33AF70 #3372AF
monochromatic
#501718 #802526 #AF3334 #CD5253 #DB8283

Accessibility & contrast

On white

6.28
#AF3334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF3334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3334
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3334#FFFFFF#000000##FFFFFF
##AF33341.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F33
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#C00735
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3334;
/* rgb */ color: rgb(175, 51, 52);
/* oklch */ color: oklch(50.9% 0.161 24.5);
Tailwind
colors: {
  custom: {
    50: '#cf736b',
    500: '#af3334',
    950: '#000000',
  },
}
SCSS
$custom: #af3334;
$custom-light: #cf736b;
$custom-dark: #000000;
JSON
{
  "hex": "#af3334",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 52
  },
  "hsl": {
    "h": 359.516,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50886,
    "c": 0.16052,
    "h": 24.5
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#AF3334
secondary
#7AC4C3
accent
#DEDD4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3334

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

Preview Lab → · Contrast checker → · Palette generator →

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