#AF2F25#AF2F25

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

Color values

HEX#AF2F25
RGBrgb(175, 47, 37)
HSLhsl(4, 65%, 42%)
HSVhsv(4, 79%, 69%)
CMYKcmyk(0%, 73.1%, 78.9%, 31.4%)
CIE-LABlab(40.05, 50.91, 36.74)
CIE-LCHlch(40.05, 62.78, 35.82°)
OKLaboklab(50.28% 0.1456 0.0803)
OKLCHoklch(50.28% 0.166 28.9)
XYZxyz(19.0319, 11.2835, 2.9257)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F25 #25A5AF
analogous
#AF2560 #AF2F25 #AF7425
triadic
#AF2F25 #25AF2F #2F25AF
tetradic
#AF2F25 #60AF25 #25A5AF #7425AF
square
#AF2F25 #60AF25 #25A5AF #7425AF
split-complementary
#AF2F25 #25AF74 #2560AF
monochromatic
#4A1410 #7C211A #AF2F25 #D6473C #E0766E

Accessibility & contrast

On white

6.45
#AF2F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F25
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F25#FFFFFF#000000##FFFFFF
##AF2F251.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D23
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2f25;
/* rgb */ color: rgb(175, 47, 37);
/* oklch */ color: oklch(50.3% 0.166 28.9);
Tailwind
colors: {
  custom: {
    50: '#d07160',
    500: '#af2f25',
    950: '#000000',
  },
}
SCSS
$custom: #af2f25;
$custom-light: #d07160;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f25",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 37
  },
  "hsl": {
    "h": 4.348,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.16627,
    "h": 28.9
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#AF2F25
secondary
#69C0C7
accent
#DCE840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2F25

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

Preview Lab → · Contrast checker → · Palette generator →

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