#AF2F2F#AF2F2F

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

Color values

HEX#AF2F2F
RGBrgb(175, 47, 47)
HSLhsl(0, 58%, 44%)
HSVhsv(0, 73%, 69%)
CMYKcmyk(0%, 73.1%, 73.1%, 31.4%)
CIE-LABlab(40.17, 51.31, 31.10)
CIE-LCHlch(40.17, 60.00, 31.22°)
OKLaboklab(50.4% 0.149 0.0706)
OKLCHoklch(50.4% 0.165 25.4)
XYZxyz(19.2110, 11.3551, 3.8690)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F2F #2FAFAF
analogous
#AF2F6F #AF2F2F #AF6F2F
triadic
#AF2F2F #2FAF2F #2F2FAF
tetradic
#AF2F2F #6FAF2F #2FAFAF #6F2FAF
square
#AF2F2F #6FAF2F #2FAFAF #6F2FAF
split-complementary
#AF2F2F #2FAF6F #2F6FAF
monochromatic
#4F1515 #7F2222 #AF2F2F #CF4C4C #DC7C7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2F2F#FFFFFF#000000##FFFFFF
##AF2F2F1.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)
#544D2E
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f2f;
/* rgb */ color: rgb(175, 47, 47);
/* oklch */ color: oklch(50.4% 0.165 25.4);
Tailwind
colors: {
  custom: {
    50: '#cf7168',
    500: '#af2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #af2f2f;
$custom-light: #cf7168;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f2f",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50404,
    "c": 0.16487,
    "h": 25.4
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#AF2F2F
secondary
#75C4C4
accent
#E1E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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