#AF272E#AF272E

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

Color values

HEX#AF272E
RGBrgb(175, 39, 46)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 77.7%, 73.7%, 31.4%)
CIE-LABlab(39.18, 53.99, 30.55)
CIE-LCHlch(39.18, 62.03, 29.51°)
OKLaboklab(49.66% 0.1572 0.0692)
OKLCHoklch(49.66% 0.172 23.8)
XYZxyz(18.9001, 10.7652, 3.6670)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF272E #27AFA8
analogous
#AF2772 #AF272E #AF6427
triadic
#AF272E #2EAF27 #272EAF
tetradic
#AF272E #72AF27 #27AFA8 #6427AF
square
#AF272E #72AF27 #27AFA8 #6427AF
split-complementary
#AF272E #27AF64 #2772AF
monochromatic
#4B1114 #7D1C21 #AF272E #D43F47 #DF7177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF272E#FFFFFF#000000##FFFFFF
##AF272E1.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)
#504A2D
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af272e;
/* rgb */ color: rgb(175, 39, 46);
/* oklch */ color: oklch(49.7% 0.172 23.8);
Tailwind
colors: {
  custom: {
    50: '#cf6e67',
    500: '#af272e',
    950: '#000000',
  },
}
SCSS
$custom: #af272e;
$custom-light: #cf6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#af272e",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 356.912,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.1718,
    "h": 23.8
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF272E

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

Preview Lab → · Contrast checker → · Palette generator →

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