#AF2F2B#AF2F2B

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

Color values

HEX#AF2F2B
RGBrgb(175, 47, 43)
HSLhsl(2, 61%, 43%)
HSVhsv(2, 75%, 69%)
CMYKcmyk(0%, 73.1%, 75.4%, 31.4%)
CIE-LABlab(40.12, 51.14, 33.39)
CIE-LCHlch(40.12, 61.07, 33.14°)
OKLaboklab(50.35% 0.1476 0.0747)
OKLCHoklch(50.35% 0.165 26.9)
XYZxyz(19.1340, 11.3243, 3.4634)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F2B #2BABAF
analogous
#AF2B69 #AF2F2B #AF712B
triadic
#AF2F2B #2BAF2F #2F2BAF
tetradic
#AF2F2B #69AF2B #2BABAF #712BAF
square
#AF2F2B #69AF2B #2BABAF #712BAF
split-complementary
#AF2F2B #2BAF71 #2B69AF
monochromatic
#4D1513 #7E221F #AF2F2B #D14A46 #DE7A77

Accessibility & contrast

On white

6.43
#AF2F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F2B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F2B#FFFFFF#000000##FFFFFF
##AF2F2B1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f2b;
/* rgb */ color: rgb(175, 47, 43);
/* oklch */ color: oklch(50.3% 0.165 26.9);
Tailwind
colors: {
  custom: {
    50: '#cf7165',
    500: '#af2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #af2f2b;
$custom-light: #cf7165;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f2b",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 1.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.16539,
    "h": 26.9
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#AF2F2B
secondary
#70C3C5
accent
#DFE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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