#AF2A27#AF2A27

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

Color values

HEX#AF2A27
RGBrgb(175, 42, 39)
HSLhsl(1, 64%, 42%)
HSVhsv(1, 78%, 69%)
CMYKcmyk(0%, 76%, 77.7%, 31.4%)
CIE-LABlab(39.44, 52.73, 34.97)
CIE-LCHlch(39.44, 63.27, 33.55°)
OKLaboklab(49.83% 0.1517 0.0771)
OKLCHoklch(49.83% 0.17 26.9)
XYZxyz(18.8756, 10.9193, 3.0328)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A27 #27ACAF
analogous
#AF2768 #AF2A27 #AF6E27
triadic
#AF2A27 #27AF2A #2A27AF
tetradic
#AF2A27 #68AF27 #27ACAF #6E27AF
square
#AF2A27 #68AF27 #27ACAF #6E27AF
split-complementary
#AF2A27 #27AF6E #2768AF
monochromatic
#4B1211 #7D1E1C #AF2A27 #D4423F #DF7371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2A27#FFFFFF#000000##FFFFFF
##AF2A271.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)
#534A25
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a27;
/* rgb */ color: rgb(175, 42, 39);
/* oklch */ color: oklch(49.8% 0.170 26.9);
Tailwind
colors: {
  custom: {
    50: '#d06f62',
    500: '#af2a27',
    950: '#000000',
  },
}
SCSS
$custom: #af2a27;
$custom-light: #d06f62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a27",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.324,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.17018,
    "h": 26.9
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#AF2A27
secondary
#6BC4C6
accent
#E3E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2A27

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

Preview Lab → · Contrast checker → · Palette generator →

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