#AF273C#AF273C

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

Color values

HEX#AF273C
RGBrgb(175, 39, 60)
HSLhsl(351, 64%, 42%)
HSVhsv(351, 78%, 69%)
CMYKcmyk(0%, 77.7%, 65.7%, 31.4%)
CIE-LABlab(39.40, 54.69, 22.20)
CIE-LCHlch(39.40, 59.02, 22.09°)
OKLaboklab(49.9% 0.1626 0.0529)
OKLCHoklch(49.9% 0.171 18)
XYZxyz(19.2224, 10.8942, 5.3647)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF273C #27AF9A
analogous
#AF2780 #AF273C #AF5627
triadic
#AF273C #3CAF27 #273CAF
tetradic
#AF273C #80AF27 #27AF9A #5627AF
square
#AF273C #80AF27 #27AF9A #5627AF
split-complementary
#AF273C #27AF56 #2780AF
monochromatic
#4B111A #7D1C2B #AF273C #D43F56 #DF7182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF273C#FFFFFF#000000##FFFFFF
##AF273C1.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)
#4F4B3C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af273c;
/* rgb */ color: rgb(175, 39, 60);
/* oklch */ color: oklch(49.9% 0.171 18.0);
Tailwind
colors: {
  custom: {
    50: '#ce6e71',
    500: '#af273c',
    950: '#000000',
  },
}
SCSS
$custom: #af273c;
$custom-light: #ce6e71;
$custom-dark: #000000;
JSON
{
  "hex": "#af273c",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 60
  },
  "hsl": {
    "h": 350.735,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.17096,
    "h": 18
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#AF273C
secondary
#6BC6B8
accent
#E7CD41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF273C

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

Preview Lab → · Contrast checker → · Palette generator →

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