#AF273B#AF273B

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

Color values

HEX#AF273B
RGBrgb(175, 39, 59)
HSLhsl(351, 64%, 42%)
HSVhsv(351, 78%, 69%)
CMYKcmyk(0%, 77.7%, 66.3%, 31.4%)
CIE-LABlab(39.38, 54.63, 22.80)
CIE-LCHlch(39.38, 59.20, 22.65°)
OKLaboklab(49.88% 0.1622 0.0542)
OKLCHoklch(49.88% 0.171 18.5)
XYZxyz(19.1962, 10.8837, 5.2268)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF273B #27AF9B
analogous
#AF277F #AF273B #AF5727
triadic
#AF273B #3BAF27 #273BAF
tetradic
#AF273B #7FAF27 #27AF9B #5727AF
square
#AF273B #7FAF27 #27AF9B #5727AF
split-complementary
#AF273B #27AF57 #277FAF
monochromatic
#4B1119 #7D1C2A #AF273B #D43F55 #DF7181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF273B#FFFFFF#000000##FFFFFF
##AF273B1.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)
#4F4A3B
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af273b;
/* rgb */ color: rgb(175, 39, 59);
/* oklch */ color: oklch(49.9% 0.171 18.5);
Tailwind
colors: {
  custom: {
    50: '#cf6e70',
    500: '#af273b',
    950: '#000000',
  },
}
SCSS
$custom: #af273b;
$custom-light: #cf6e70;
$custom-dark: #000000;
JSON
{
  "hex": "#af273b",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 59
  },
  "hsl": {
    "h": 351.176,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.17098,
    "h": 18.5
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#AF273B
secondary
#6BC6B9
accent
#E7CE41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF273B

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

Preview Lab → · Contrast checker → · Palette generator →

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