#AF2C27#AF2C27

#AF2C27 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.169 H 27.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2C27
RGBrgb(175, 44, 39)
HSLhsl(2, 64%, 42%)
HSVhsv(2, 78%, 69%)
CMYKcmyk(0%, 74.9%, 77.7%, 31.4%)
CIE-LABlab(39.69, 52.05, 35.23)
CIE-LCHlch(39.69, 62.85, 34.09°)
OKLaboklab(50.01% 0.1496 0.0776)
OKLCHoklch(50.01% 0.169 27.4)
XYZxyz(18.9483, 11.0648, 3.0571)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C27 #27AAAF
analogous
#AF2766 #AF2C27 #AF7027
triadic
#AF2C27 #27AF2C #2C27AF
tetradic
#AF2C27 #66AF27 #27AAAF #7027AF
square
#AF2C27 #66AF27 #27AAAF #7027AF
split-complementary
#AF2C27 #27AF70 #2766AF
monochromatic
#4B1311 #7D1F1C #AF2C27 #D4443F #DF7571

Accessibility & contrast

On white

6.54
#AF2C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C27
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C27#FFFFFF#000000##FFFFFF
##AF2C271.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B25
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2c27;
/* rgb */ color: rgb(175, 44, 39);
/* oklch */ color: oklch(50.0% 0.169 27.4);
Tailwind
colors: {
  custom: {
    50: '#d07062',
    500: '#af2c27',
    950: '#000000',
  },
}
SCSS
$custom: #af2c27;
$custom-light: #d07062;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c27",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 39
  },
  "hsl": {
    "h": 2.206,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.16852,
    "h": 27.4
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#AF2C27
secondary
#6BC3C6
accent
#E0E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2C27

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

Preview Lab → · Contrast checker → · Palette generator →

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