#AF3A2E#AF3A2E

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

Color values

HEX#AF3A2E
RGBrgb(175, 58, 46)
HSLhsl(6, 58%, 43%)
HSVhsv(6, 74%, 69%)
CMYKcmyk(0%, 66.9%, 73.7%, 31.4%)
CIE-LABlab(41.75, 46.91, 33.48)
CIE-LCHlch(41.75, 57.63, 35.52°)
OKLaboklab(51.58% 0.1349 0.0756)
OKLCHoklch(51.58% 0.155 29.3)
XYZxyz(19.6875, 12.3402, 3.9295)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A2E #2EA3AF
analogous
#AF2E63 #AF3A2E #AF7A2E
triadic
#AF3A2E #2EAF3A #3A2EAF
tetradic
#AF3A2E #63AF2E #2EA3AF #7A2EAF
square
#AF3A2E #63AF2E #2EA3AF #7A2EAF
split-complementary
#AF3A2E #2EAF7A #2E63AF
monochromatic
#4E1A15 #7F2A21 #AF3A2E #D0574B #DC847B

Accessibility & contrast

On white

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

On black

3.47
#AF3A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3A2E#FFFFFF#000000##FFFFFF
##AF3A2E1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522C
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#C01938
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3a2e;
/* rgb */ color: rgb(175, 58, 46);
/* oklch */ color: oklch(51.6% 0.155 29.3);
Tailwind
colors: {
  custom: {
    50: '#cf7767',
    500: '#af3a2e',
    950: '#000000',
  },
}
SCSS
$custom: #af3a2e;
$custom-light: #cf7767;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a2e",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 46
  },
  "hsl": {
    "h": 5.581,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.15464,
    "h": 29.3
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

primary
#AF3A2E
secondary
#74BDC5
accent
#D3E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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