#AF2C2F#AF2C2F

#AF2C2F is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 24.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2C2F
RGBrgb(175, 44, 47)
HSLhsl(359, 60%, 43%)
HSVhsv(359, 75%, 69%)
CMYKcmyk(0%, 74.9%, 73.1%, 31.4%)
CIE-LABlab(39.79, 52.38, 30.65)
CIE-LCHlch(39.79, 60.69, 30.34°)
OKLaboklab(50.12% 0.1524 0.0696)
OKLCHoklch(50.12% 0.168 24.6)
XYZxyz(19.0951, 11.1235, 3.8304)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C2F #2CAFAC
analogous
#AF2C70 #AF2C2F #AF6A2C
triadic
#AF2C2F #2FAF2C #2C2FAF
tetradic
#AF2C2F #70AF2C #2CAFAC #6A2CAF
square
#AF2C2F #70AF2C #2CAFAC #6A2CAF
split-complementary
#AF2C2F #2CAF6A #2C70AF
monochromatic
#4D1315 #7E2022 #AF2C2F #D1474B #DD787B

Accessibility & contrast

On white

6.51
#AF2C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C2F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C2F#FFFFFF#000000##FFFFFF
##AF2C2F1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2E
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c2f;
/* rgb */ color: rgb(175, 44, 47);
/* oklch */ color: oklch(50.1% 0.168 24.6);
Tailwind
colors: {
  custom: {
    50: '#cf7068',
    500: '#af2c2f',
    950: '#000000',
  },
}
SCSS
$custom: #af2c2f;
$custom-light: #cf7068;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c2f",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 47
  },
  "hsl": {
    "h": 358.626,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.16751,
    "h": 24.6
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#AF2C2F
secondary
#72C5C3
accent
#E3DF45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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