#AF2F2A#AF2F2A

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

Color values

HEX#AF2F2A
RGBrgb(175, 47, 42)
HSLhsl(2, 61%, 43%)
HSVhsv(2, 76%, 69%)
CMYKcmyk(0%, 73.1%, 76%, 31.4%)
CIE-LABlab(40.11, 51.09, 33.96)
CIE-LCHlch(40.11, 61.35, 33.61°)
OKLaboklab(50.34% 0.1472 0.0757)
OKLCHoklch(50.34% 0.166 27.2)
XYZxyz(19.1158, 11.3171, 3.3679)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F2A #2AAAAF
analogous
#AF2A67 #AF2F2A #AF722A
triadic
#AF2F2A #2AAF2F #2F2AAF
tetradic
#AF2F2A #67AF2A #2AAAAF #722AAF
square
#AF2F2A #67AF2A #2AAAAF #722AAF
split-complementary
#AF2F2A #2AAF72 #2A67AF
monochromatic
#4C1412 #7E221E #AF2F2A #D24944 #DE7975

Accessibility & contrast

On white

6.44
#AF2F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F2A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F2A#FFFFFF#000000##FFFFFF
##AF2F2A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2f2a;
/* rgb */ color: rgb(175, 47, 42);
/* oklch */ color: oklch(50.3% 0.166 27.2);
Tailwind
colors: {
  custom: {
    50: '#cf7164',
    500: '#af2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #af2f2a;
$custom-light: #cf7164;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f2a",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 2.256,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.16553,
    "h": 27.2
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#AF2F2A
secondary
#6FC2C6
accent
#DEE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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