#AF2A2C#AF2A2C

#AF2A2C is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 25.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2A2C
RGBrgb(175, 42, 44)
HSLhsl(359, 61%, 43%)
HSVhsv(359, 76%, 69%)
CMYKcmyk(0%, 76%, 74.9%, 31.4%)
CIE-LABlab(39.50, 52.93, 32.12)
CIE-LCHlch(39.50, 61.91, 31.25°)
OKLaboklab(49.89% 0.1534 0.0722)
OKLCHoklch(49.89% 0.17 25.2)
XYZxyz(18.9640, 10.9547, 3.4983)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A2C #2AAFAD
analogous
#AF2A6E #AF2A2C #AF6B2A
triadic
#AF2A2C #2CAF2A #2A2CAF
tetradic
#AF2A2C #6EAF2A #2AAFAD #6B2AAF
square
#AF2A2C #6EAF2A #2AAFAD #6B2AAF
split-complementary
#AF2A2C #2AAF6B #2A6EAF
monochromatic
#4C1213 #7E1E20 #AF2A2C #D24446 #DE7577

Accessibility & contrast

On white

6.58
#AF2A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A2C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A2C#FFFFFF#000000##FFFFFF
##AF2A2C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a2c;
/* rgb */ color: rgb(175, 42, 44);
/* oklch */ color: oklch(49.9% 0.170 25.2);
Tailwind
colors: {
  custom: {
    50: '#cf6f65',
    500: '#af2a2c',
    950: '#000000',
  },
}
SCSS
$custom: #af2a2c;
$custom-light: #cf6f65;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a2c",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 359.098,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.16956,
    "h": 25.2
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#AF2A2C
secondary
#6FC6C4
accent
#E4E243
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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