#AF3839#AF3839

#AF3839 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.5% C 0.155 H 23.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3839
RGBrgb(175, 56, 57)
HSLhsl(359, 52%, 45%)
HSVhsv(359, 68%, 69%)
CMYKcmyk(0%, 68%, 67.4%, 31.4%)
CIE-LABlab(41.60, 48.31, 26.79)
CIE-LCHlch(41.60, 55.25, 29.01°)
OKLaboklab(51.51% 0.1416 0.0629)
OKLCHoklch(51.51% 0.155 23.9)
XYZxyz(19.8340, 12.2405, 5.1884)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3839 #38AFAE
analogous
#AF3874 #AF3839 #AF7338
triadic
#AF3839 #39AF38 #3839AF
tetradic
#AF3839 #74AF38 #38AFAE #7338AF
square
#AF3839 #74AF38 #38AFAE #7338AF
split-complementary
#AF3839 #38AF73 #3874AF
monochromatic
#521A1B #81292A #AF3839 #CA5A5B #D98889

Accessibility & contrast

On white

6.09
#AF3839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF3839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3839
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3839#FFFFFF#000000##FFFFFF
##AF38391.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585238
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#C0183A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3839;
/* rgb */ color: rgb(175, 56, 57);
/* oklch */ color: oklch(51.5% 0.155 23.9);
Tailwind
colors: {
  custom: {
    50: '#ce766f',
    500: '#af3839',
    950: '#000000',
  },
}
SCSS
$custom: #af3839;
$custom-light: #ce766f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3839",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 57
  },
  "hsl": {
    "h": 359.496,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.15494,
    "h": 23.9
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3839

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

Preview Lab → · Contrast checker → · Palette generator →

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