#AF3A2C#AF3A2C

#AF3A2C is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.155 H 30.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF3A2C
RGBrgb(175, 58, 44)
HSLhsl(6, 60%, 43%)
HSVhsv(6, 75%, 69%)
CMYKcmyk(0%, 66.9%, 74.9%, 31.4%)
CIE-LABlab(41.73, 46.82, 34.59)
CIE-LCHlch(41.73, 58.21, 36.46°)
OKLaboklab(51.56% 0.1342 0.0775)
OKLCHoklch(51.56% 0.155 30)
XYZxyz(19.6490, 12.3248, 3.7267)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A2C #2CA1AF
analogous
#AF2C60 #AF3A2C #AF7B2C
triadic
#AF3A2C #2CAF3A #3A2CAF
tetradic
#AF3A2C #60AF2C #2CA1AF #7B2CAF
square
#AF3A2C #60AF2C #2CA1AF #7B2CAF
split-complementary
#AF3A2C #2CAF7B #2C60AF
monochromatic
#4D1A13 #7E2A20 #AF3A2C #D15647 #DD8378

Accessibility & contrast

On white

6.06
#AF3A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF3A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A2C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A2C#FFFFFF#000000##FFFFFF
##AF3A2C1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522A
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#C11938
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3a2c;
/* rgb */ color: rgb(175, 58, 44);
/* oklch */ color: oklch(51.6% 0.155 30.0);
Tailwind
colors: {
  custom: {
    50: '#cf7666',
    500: '#af3a2c',
    950: '#000000',
  },
}
SCSS
$custom: #af3a2c;
$custom-light: #cf7666;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a2c",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 6.412,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.15501,
    "h": 30
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#AF3A2C
secondary
#72BCC5
accent
#D2E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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