#AF2836#AF2836

#AF2836 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 20.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF2836
RGBrgb(175, 40, 54)
HSLhsl(354, 63%, 42%)
HSVhsv(354, 77%, 69%)
CMYKcmyk(0%, 77.1%, 69.1%, 31.4%)
CIE-LABlab(39.41, 54.05, 25.95)
CIE-LCHlch(39.41, 59.95, 25.64°)
OKLaboklab(49.87% 0.1592 0.0605)
OKLCHoklch(49.87% 0.17 20.8)
XYZxyz(19.1060, 10.9008, 4.5874)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2836 #28AFA1
analogous
#AF2879 #AF2836 #AF5E28
triadic
#AF2836 #36AF28 #2836AF
tetradic
#AF2836 #79AF28 #28AFA1 #5E28AF
square
#AF2836 #79AF28 #28AFA1 #5E28AF
split-complementary
#AF2836 #28AF5E #2879AF
monochromatic
#4B1117 #7D1D27 #AF2836 #D44150 #DF737E

Accessibility & contrast

On white

6.60
#AF2836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2836
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2836#FFFFFF#000000##FFFFFF
##AF28361.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B35
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2836;
/* rgb */ color: rgb(175, 40, 54);
/* oklch */ color: oklch(49.9% 0.170 20.8);
Tailwind
colors: {
  custom: {
    50: '#cf6e6d',
    500: '#af2836',
    950: '#000000',
  },
}
SCSS
$custom: #af2836;
$custom-light: #cf6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2836",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 353.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.17034,
    "h": 20.8
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#AF2836
secondary
#6DC6BD
accent
#E6D542
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2836

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

Preview Lab → · Contrast checker → · Palette generator →

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