#AF273F#AF273F

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

Color values

HEX#AF273F
RGBrgb(175, 39, 63)
HSLhsl(349, 64%, 42%)
HSVhsv(349, 78%, 69%)
CMYKcmyk(0%, 77.7%, 64%, 31.4%)
CIE-LABlab(39.46, 54.87, 20.39)
CIE-LCHlch(39.46, 58.53, 20.38°)
OKLaboklab(49.96% 0.1638 0.0491)
OKLCHoklch(49.96% 0.171 16.7)
XYZxyz(19.3040, 10.9268, 5.7943)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF273F #27AF97
analogous
#AF2783 #AF273F #AF5327
triadic
#AF273F #3FAF27 #273FAF
tetradic
#AF273F #83AF27 #27AF97 #5327AF
square
#AF273F #83AF27 #27AF97 #5327AF
split-complementary
#AF273F #27AF53 #2783AF
monochromatic
#4B111B #7D1C2D #AF273F #D43F59 #DF7185

Accessibility & contrast

On white

6.59
#AF273F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF273F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF273F#FFFFFF#000000##FFFFFF
##AF273F1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B3F
Deuteranopia (green-blind)
#71673B
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af273f;
/* rgb */ color: rgb(175, 39, 63);
/* oklch */ color: oklch(50.0% 0.171 16.7);
Tailwind
colors: {
  custom: {
    50: '#ce6e73',
    500: '#af273f',
    950: '#000000',
  },
}
SCSS
$custom: #af273f;
$custom-light: #ce6e73;
$custom-dark: #000000;
JSON
{
  "hex": "#af273f",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 63
  },
  "hsl": {
    "h": 349.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.17096,
    "h": 16.7
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#AF273F
secondary
#6BC6B6
accent
#E7C941
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF273F

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

Preview Lab → · Contrast checker → · Palette generator →

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