#AF272D#AF272D

#AF272D is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.172 H 24.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF272D
RGBrgb(175, 39, 45)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 77.7%, 74.3%, 31.4%)
CIE-LABlab(39.17, 53.94, 31.14)
CIE-LCHlch(39.17, 62.29, 30.00°)
OKLaboklab(49.65% 0.1569 0.0703)
OKLCHoklch(49.65% 0.172 24.1)
XYZxyz(18.8806, 10.7574, 3.5644)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF272D #27AFA9
analogous
#AF2771 #AF272D #AF6527
triadic
#AF272D #2DAF27 #272DAF
tetradic
#AF272D #71AF27 #27AFA9 #6527AF
square
#AF272D #71AF27 #27AFA9 #6527AF
split-complementary
#AF272D #27AF65 #2771AF
monochromatic
#4B1113 #7D1C20 #AF272D #D43F46 #DF7176

Accessibility & contrast

On white

6.66
#AF272D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF272D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF272D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF272D#FFFFFF#000000##FFFFFF
##AF272D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af272d;
/* rgb */ color: rgb(175, 39, 45);
/* oklch */ color: oklch(49.6% 0.172 24.1);
Tailwind
colors: {
  custom: {
    50: '#cf6e66',
    500: '#af272d',
    950: '#000000',
  },
}
SCSS
$custom: #af272d;
$custom-light: #cf6e66;
$custom-dark: #000000;
JSON
{
  "hex": "#af272d",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 45
  },
  "hsl": {
    "h": 357.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.17189,
    "h": 24.1
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#AF272D
secondary
#6BC6C2
accent
#E7DF41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF272D

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

Preview Lab → · Contrast checker → · Palette generator →

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