#AF2F2E#AF2F2E

#AF2F2E is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 25.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF2F2E
RGBrgb(175, 47, 46)
HSLhsl(0, 58%, 43%)
HSVhsv(0, 74%, 69%)
CMYKcmyk(0%, 73.1%, 73.7%, 31.4%)
CIE-LABlab(40.16, 51.26, 31.67)
CIE-LCHlch(40.16, 60.26, 31.71°)
OKLaboklab(50.39% 0.1486 0.0717)
OKLCHoklch(50.39% 0.165 25.7)
XYZxyz(19.1910, 11.3472, 3.7640)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F2E #2EAEAF
analogous
#AF2E6D #AF2F2E #AF6F2E
triadic
#AF2F2E #2EAF2F #2F2EAF
tetradic
#AF2F2E #6DAF2E #2EAEAF #6F2EAF
square
#AF2F2E #6DAF2E #2EAEAF #6F2EAF
split-complementary
#AF2F2E #2EAF6F #2E6DAF
monochromatic
#4E1515 #7F2221 #AF2F2E #D04C4B #DC7C7B

Accessibility & contrast

On white

6.42
#AF2F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F2E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F2E#FFFFFF#000000##FFFFFF
##AF2F2E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2C
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f2e;
/* rgb */ color: rgb(175, 47, 46);
/* oklch */ color: oklch(50.4% 0.165 25.7);
Tailwind
colors: {
  custom: {
    50: '#cf7167',
    500: '#af2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #af2f2e;
$custom-light: #cf7167;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f2e",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 0.465,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.16499,
    "h": 25.7
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#AF2F2E
secondary
#74C4C5
accent
#E0E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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