#AF273A#AF273A

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

Color values

HEX#AF273A
RGBrgb(175, 39, 58)
HSLhsl(352, 64%, 42%)
HSVhsv(352, 78%, 69%)
CMYKcmyk(0%, 77.7%, 66.9%, 31.4%)
CIE-LABlab(39.37, 54.58, 23.41)
CIE-LCHlch(39.37, 59.38, 23.21°)
OKLaboklab(49.86% 0.1618 0.0554)
OKLCHoklch(49.86% 0.171 18.9)
XYZxyz(19.1705, 10.8734, 5.0915)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF273A #27AF9C
analogous
#AF277E #AF273A #AF5827
triadic
#AF273A #3AAF27 #273AAF
tetradic
#AF273A #7EAF27 #27AF9C #5827AF
square
#AF273A #7EAF27 #27AF9C #5827AF
split-complementary
#AF273A #27AF58 #277EAF
monochromatic
#4B1119 #7D1C29 #AF273A #D43F54 #DF7180

Accessibility & contrast

On white

6.62
#AF273A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF273A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF273A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF273A#FFFFFF#000000##FFFFFF
##AF273A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A3A
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af273a;
/* rgb */ color: rgb(175, 39, 58);
/* oklch */ color: oklch(49.9% 0.171 18.9);
Tailwind
colors: {
  custom: {
    50: '#cf6e70',
    500: '#af273a',
    950: '#000000',
  },
}
SCSS
$custom: #af273a;
$custom-light: #cf6e70;
$custom-dark: #000000;
JSON
{
  "hex": "#af273a",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 58
  },
  "hsl": {
    "h": 351.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.171,
    "h": 18.9
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#AF273A
secondary
#6BC6BA
accent
#E7CF41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF273A

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

Preview Lab → · Contrast checker → · Palette generator →

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