#AF2835#AF2835

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

Color values

HEX#AF2835
RGBrgb(175, 40, 53)
HSLhsl(354, 63%, 42%)
HSVhsv(354, 77%, 69%)
CMYKcmyk(0%, 77.1%, 69.7%, 31.4%)
CIE-LABlab(39.40, 54.00, 26.54)
CIE-LCHlch(39.40, 60.17, 26.18°)
OKLaboklab(49.86% 0.1588 0.0617)
OKLCHoklch(49.86% 0.17 21.2)
XYZxyz(19.0827, 10.8915, 4.4649)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2835 #28AFA2
analogous
#AF2879 #AF2835 #AF5E28
triadic
#AF2835 #35AF28 #2835AF
tetradic
#AF2835 #79AF28 #28AFA2 #5E28AF
square
#AF2835 #79AF28 #28AFA2 #5E28AF
split-complementary
#AF2835 #28AF5E #2879AF
monochromatic
#4B1117 #7D1D26 #AF2835 #D4414F #DF737D

Accessibility & contrast

On white

6.61
#AF2835 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2835
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2835#FFFFFF#000000##FFFFFF
##AF28351.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A34
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2835;
/* rgb */ color: rgb(175, 40, 53);
/* oklch */ color: oklch(49.9% 0.170 21.2);
Tailwind
colors: {
  custom: {
    50: '#cf6e6c',
    500: '#af2835',
    950: '#000000',
  },
}
SCSS
$custom: #af2835;
$custom-light: #cf6e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2835",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 53
  },
  "hsl": {
    "h": 354.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.17039,
    "h": 21.2
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2835

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

Preview Lab → · Contrast checker → · Palette generator →

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