#AF3938#AF3938

#AF3938 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.154 H 24.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF3938
RGBrgb(175, 57, 56)
HSLhsl(1, 52%, 45%)
HSVhsv(1, 68%, 69%)
CMYKcmyk(0%, 67.4%, 68%, 31.4%)
CIE-LABlab(41.73, 47.84, 27.57)
CIE-LCHlch(41.73, 55.21, 29.95°)
OKLaboklab(51.61% 0.1399 0.0644)
OKLCHoklch(51.61% 0.154 24.7)
XYZxyz(19.8582, 12.3286, 5.0746)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3938 #38AEAF
analogous
#AF3873 #AF3938 #AF7438
triadic
#AF3938 #38AF39 #3938AF
tetradic
#AF3938 #73AF38 #38AEAF #7438AF
square
#AF3938 #73AF38 #38AEAF #7438AF
split-complementary
#AF3938 #38AF74 #3873AF
monochromatic
#521B1A #812A29 #AF3938 #CA5B5A #D98988

Accessibility & contrast

On white

6.06
#AF3938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF3938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3938
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3938#FFFFFF#000000##FFFFFF
##AF39381.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595237
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#C01A3A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3938;
/* rgb */ color: rgb(175, 57, 56);
/* oklch */ color: oklch(51.6% 0.154 24.7);
Tailwind
colors: {
  custom: {
    50: '#ce766e',
    500: '#af3938',
    950: '#000000',
  },
}
SCSS
$custom: #af3938;
$custom-light: #ce766e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3938",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 56
  },
  "hsl": {
    "h": 0.504,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51612,
    "c": 0.15404,
    "h": 24.7
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#AF3938
secondary
#80C3C3
accent
#DADB4D
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3938

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

Preview Lab → · Contrast checker → · Palette generator →

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