#AF2F2C#AF2F2C

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

Color values

HEX#AF2F2C
RGBrgb(175, 47, 44)
HSLhsl(1, 60%, 43%)
HSVhsv(1, 75%, 69%)
CMYKcmyk(0%, 73.1%, 74.9%, 31.4%)
CIE-LABlab(40.13, 51.18, 32.82)
CIE-LCHlch(40.13, 60.80, 32.67°)
OKLaboklab(50.36% 0.1479 0.0737)
OKLCHoklch(50.36% 0.165 26.5)
XYZxyz(19.1525, 11.3318, 3.5612)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F2C #2CACAF
analogous
#AF2C6A #AF2F2C #AF702C
triadic
#AF2F2C #2CAF2F #2F2CAF
tetradic
#AF2F2C #6AAF2C #2CACAF #702CAF
square
#AF2F2C #6AAF2C #2CACAF #702CAF
split-complementary
#AF2F2C #2CAF70 #2C6AAF
monochromatic
#4D1513 #7E2220 #AF2F2C #D14B47 #DD7B78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2F2C#FFFFFF#000000##FFFFFF
##AF2F2C1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2f2c;
/* rgb */ color: rgb(175, 47, 44);
/* oklch */ color: oklch(50.4% 0.165 26.5);
Tailwind
colors: {
  custom: {
    50: '#cf7165',
    500: '#af2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #af2f2c;
$custom-light: #cf7165;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f2c",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 1.374,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.16525,
    "h": 26.5
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#AF2F2C
secondary
#72C3C5
accent
#DFE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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