#AF2C2E#AF2C2E

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

Color values

HEX#AF2C2E
RGBrgb(175, 44, 46)
HSLhsl(359, 60%, 43%)
HSVhsv(359, 75%, 69%)
CMYKcmyk(0%, 74.9%, 73.7%, 31.4%)
CIE-LABlab(39.77, 52.33, 31.23)
CIE-LCHlch(39.77, 60.94, 30.83°)
OKLaboklab(50.1% 0.152 0.0707)
OKLCHoklch(50.1% 0.168 24.9)
XYZxyz(19.0752, 11.1155, 3.7253)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C2E #2CAFAD
analogous
#AF2C6F #AF2C2E #AF6B2C
triadic
#AF2C2E #2EAF2C #2C2EAF
tetradic
#AF2C2E #6FAF2C #2CAFAD #6B2CAF
square
#AF2C2E #6FAF2C #2CAFAD #6B2CAF
split-complementary
#AF2C2E #2CAF6B #2C6FAF
monochromatic
#4D1314 #7E2021 #AF2C2E #D14749 #DD787A

Accessibility & contrast

On white

6.52
#AF2C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C2E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C2E#FFFFFF#000000##FFFFFF
##AF2C2E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c2e;
/* rgb */ color: rgb(175, 44, 46);
/* oklch */ color: oklch(50.1% 0.168 24.9);
Tailwind
colors: {
  custom: {
    50: '#cf7067',
    500: '#af2c2e',
    950: '#000000',
  },
}
SCSS
$custom: #af2c2e;
$custom-light: #cf7067;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c2e",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 46
  },
  "hsl": {
    "h": 359.084,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.16762,
    "h": 24.9
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#AF2C2E
secondary
#72C5C4
accent
#E3E145
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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