#AF272C#AF272C

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

Color values

HEX#AF272C
RGBrgb(175, 39, 44)
HSLhsl(358, 64%, 42%)
HSVhsv(358, 78%, 69%)
CMYKcmyk(0%, 77.7%, 74.9%, 31.4%)
CIE-LABlab(39.16, 53.90, 31.72)
CIE-LCHlch(39.16, 62.54, 30.48°)
OKLaboklab(49.64% 0.1565 0.0713)
OKLCHoklch(49.64% 0.172 24.5)
XYZxyz(18.8615, 10.7498, 3.4642)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF272C #27AFAA
analogous
#AF2770 #AF272C #AF6627
triadic
#AF272C #2CAF27 #272CAF
tetradic
#AF272C #70AF27 #27AFAA #6627AF
square
#AF272C #70AF27 #27AFAA #6627AF
split-complementary
#AF272C #27AF66 #2770AF
monochromatic
#4B1113 #7D1C1F #AF272C #D43F44 #DF7175

Accessibility & contrast

On white

6.67
#AF272C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF272C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF272C#FFFFFF#000000##FFFFFF
##AF272C1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51492B
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af272c;
/* rgb */ color: rgb(175, 39, 44);
/* oklch */ color: oklch(49.6% 0.172 24.5);
Tailwind
colors: {
  custom: {
    50: '#d06e65',
    500: '#af272c',
    950: '#000000',
  },
}
SCSS
$custom: #af272c;
$custom-light: #d06e65;
$custom-dark: #000000;
JSON
{
  "hex": "#af272c",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 357.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.17199,
    "h": 24.5
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#AF272C
secondary
#6BC6C3
accent
#E7E041
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF272C

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

Preview Lab → · Contrast checker → · Palette generator →

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