#AF3A38#AF3A38

#AF3A38 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.7% C 0.153 H 25.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF3A38
RGBrgb(175, 58, 56)
HSLhsl(1, 52%, 45%)
HSVhsv(1, 68%, 69%)
CMYKcmyk(0%, 66.9%, 68%, 31.4%)
CIE-LABlab(41.89, 47.42, 27.76)
CIE-LCHlch(41.89, 54.94, 30.34°)
OKLaboklab(51.73% 0.1386 0.0649)
OKLCHoklch(51.73% 0.153 25.1)
XYZxyz(19.9081, 12.4284, 5.0912)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A38 #38ADAF
analogous
#AF3872 #AF3A38 #AF7538
triadic
#AF3A38 #38AF3A #3A38AF
tetradic
#AF3A38 #72AF38 #38ADAF #7538AF
square
#AF3A38 #72AF38 #38ADAF #7538AF
split-complementary
#AF3A38 #38AF75 #3872AF
monochromatic
#521B1A #812B29 #AF3A38 #CA5C5A #D98A88

Accessibility & contrast

On white

6.03
#AF3A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF3A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A38
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A38#FFFFFF#000000##FFFFFF
##AF3A381.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5337
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#C01C3B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3a38;
/* rgb */ color: rgb(175, 58, 56);
/* oklch */ color: oklch(51.7% 0.153 25.1);
Tailwind
colors: {
  custom: {
    50: '#ce776e',
    500: '#af3a38',
    950: '#000000',
  },
}
SCSS
$custom: #af3a38;
$custom-light: #ce776e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a38",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 56
  },
  "hsl": {
    "h": 1.008,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.153,
    "h": 25.1
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#AF3A38
secondary
#80C2C3
accent
#D9DB4D
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3A38

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

Preview Lab → · Contrast checker → · Palette generator →

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