#AF2E25#AF2E25

#AF2E25 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 28.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2E25
RGBrgb(175, 46, 37)
HSLhsl(4, 65%, 42%)
HSVhsv(4, 79%, 69%)
CMYKcmyk(0%, 73.7%, 78.9%, 31.4%)
CIE-LABlab(39.92, 51.27, 36.60)
CIE-LCHlch(39.92, 62.99, 35.53°)
OKLaboklab(50.18% 0.1467 0.08)
OKLCHoklch(50.18% 0.167 28.6)
XYZxyz(18.9924, 11.2045, 2.9126)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E25 #25A6AF
analogous
#AF2561 #AF2E25 #AF7325
triadic
#AF2E25 #25AF2E #2E25AF
tetradic
#AF2E25 #61AF25 #25A6AF #7325AF
square
#AF2E25 #61AF25 #25A6AF #7325AF
split-complementary
#AF2E25 #25AF73 #2561AF
monochromatic
#4A1310 #7C211A #AF2E25 #D6463C #E0766E

Accessibility & contrast

On white

6.48
#AF2E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E25
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E25#FFFFFF#000000##FFFFFF
##AF2E251.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C23
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e25;
/* rgb */ color: rgb(175, 46, 37);
/* oklch */ color: oklch(50.2% 0.167 28.6);
Tailwind
colors: {
  custom: {
    50: '#d07060',
    500: '#af2e25',
    950: '#000000',
  },
}
SCSS
$custom: #af2e25;
$custom-light: #d07060;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e25",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 37
  },
  "hsl": {
    "h": 3.913,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.16713,
    "h": 28.6
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#AF2E25
secondary
#69C1C7
accent
#DDE840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2E25

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

Preview Lab → · Contrast checker → · Palette generator →

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