#AF3338#AF3338

#AF3338 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.160 H 22.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF3338
RGBrgb(175, 51, 56)
HSLhsl(358, 55%, 44%)
HSVhsv(358, 71%, 69%)
CMYKcmyk(0%, 70.9%, 68%, 31.4%)
CIE-LABlab(40.85, 50.26, 26.48)
CIE-LCHlch(40.85, 56.81, 27.79°)
OKLaboklab(50.95% 0.1476 0.062)
OKLCHoklch(50.95% 0.16 22.8)
XYZxyz(19.5789, 11.7700, 4.9815)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3338 #33AFAA
analogous
#AF3376 #AF3338 #AF6C33
triadic
#AF3338 #38AF33 #3338AF
tetradic
#AF3338 #76AF33 #33AFAA #6C33AF
square
#AF3338 #76AF33 #33AFAA #6C33AF
split-complementary
#AF3338 #33AF6C #3376AF
monochromatic
#50171A #802529 #AF3338 #CD5257 #DB8285

Accessibility & contrast

On white

6.26
#AF3338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3338
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3338#FFFFFF#000000##FFFFFF
##AF33381.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F37
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#C00A36
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3338;
/* rgb */ color: rgb(175, 51, 56);
/* oklch */ color: oklch(50.9% 0.160 22.8);
Tailwind
colors: {
  custom: {
    50: '#ce736e',
    500: '#af3338',
    950: '#000000',
  },
}
SCSS
$custom: #af3338;
$custom-light: #ce736e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3338",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 56
  },
  "hsl": {
    "h": 357.581,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.16008,
    "h": 22.8
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#AF3338
secondary
#7AC4C1
accent
#DED84A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3338

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

Preview Lab → · Contrast checker → · Palette generator →

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