#AF272F#AF272F

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

Color values

HEX#AF272F
RGBrgb(175, 39, 47)
HSLhsl(356, 64%, 42%)
HSVhsv(356, 78%, 69%)
CMYKcmyk(0%, 77.7%, 73.1%, 31.4%)
CIE-LABlab(39.20, 54.03, 29.97)
CIE-LCHlch(39.20, 61.78, 29.01°)
OKLaboklab(49.68% 0.1576 0.0681)
OKLCHoklch(49.68% 0.172 23.4)
XYZxyz(18.9200, 10.7732, 3.7720)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF272F #27AFA7
analogous
#AF2773 #AF272F #AF6327
triadic
#AF272F #2FAF27 #272FAF
tetradic
#AF272F #73AF27 #27AFA7 #6327AF
square
#AF272F #73AF27 #27AFA7 #6327AF
split-complementary
#AF272F #27AF63 #2773AF
monochromatic
#4B1114 #7D1C22 #AF272F #D43F48 #DF7178

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF272F#FFFFFF#000000##FFFFFF
##AF272F1.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)
#504A2E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af272f;
/* rgb */ color: rgb(175, 39, 47);
/* oklch */ color: oklch(49.7% 0.172 23.4);
Tailwind
colors: {
  custom: {
    50: '#cf6e67',
    500: '#af272f',
    950: '#000000',
  },
}
SCSS
$custom: #af272f;
$custom-light: #cf6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#af272f",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 356.471,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.1717,
    "h": 23.4
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#AF272F
secondary
#6BC6C1
accent
#E7DD41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF272F

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

Preview Lab → · Contrast checker → · Palette generator →

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