#AF2C3A#AF2C3A

#AF2C3A is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.167 H 20.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF2C3A
RGBrgb(175, 44, 58)
HSLhsl(354, 60%, 43%)
HSVhsv(354, 75%, 69%)
CMYKcmyk(0%, 74.9%, 66.9%, 31.4%)
CIE-LABlab(39.95, 52.93, 24.15)
CIE-LCHlch(39.95, 58.18, 24.52°)
OKLaboklab(50.3% 0.1565 0.0571)
OKLCHoklch(50.3% 0.167 20)
XYZxyz(19.3457, 11.2237, 5.1499)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C3A #2CAFA1
analogous
#AF2C7B #AF2C3A #AF602C
triadic
#AF2C3A #3AAF2C #2C3AAF
tetradic
#AF2C3A #7BAF2C #2CAFA1 #602CAF
square
#AF2C3A #7BAF2C #2CAFA1 #602CAF
split-complementary
#AF2C3A #2CAF60 #2C7BAF
monochromatic
#4D131A #7E202A #AF2C3A #D14756 #DD7883

Accessibility & contrast

On white

6.47
#AF2C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C3A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C3A#FFFFFF#000000##FFFFFF
##AF2C3A1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C3A
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c3a;
/* rgb */ color: rgb(175, 44, 58);
/* oklch */ color: oklch(50.3% 0.167 20.0);
Tailwind
colors: {
  custom: {
    50: '#ce7070',
    500: '#af2c3a',
    950: '#000000',
  },
}
SCSS
$custom: #af2c3a;
$custom-light: #ce7070;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c3a",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 353.588,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.1666,
    "h": 20
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#AF2C3A
secondary
#72C5BC
accent
#E3D245
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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