#AF2525#AF2525

#AF2525 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 26.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AF2525
RGBrgb(175, 37, 37)
HSLhsl(0, 65%, 42%)
HSVhsv(0, 79%, 69%)
CMYKcmyk(0%, 78.9%, 78.9%, 31.4%)
CIE-LABlab(38.85, 54.25, 35.49)
CIE-LCHlch(38.85, 64.83, 33.19°)
OKLaboklab(49.38% 0.1561 0.0776)
OKLCHoklch(49.38% 0.174 26.4)
XYZxyz(18.6770, 10.5737, 2.8074)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2525 #25AFAF
analogous
#AF256A #AF2525 #AF6A25
triadic
#AF2525 #25AF25 #2525AF
tetradic
#AF2525 #6AAF25 #25AFAF #6A25AF
square
#AF2525 #6AAF25 #25AFAF #6A25AF
split-complementary
#AF2525 #25AF6A #256AAF
monochromatic
#4A1010 #7C1A1A #AF2525 #D63C3C #E06E6E

Accessibility & contrast

On white

6.74
#AF2525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF2525 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2525
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2525#FFFFFF#000000##FFFFFF
##AF25251.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504823
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2525;
/* rgb */ color: rgb(175, 37, 37);
/* oklch */ color: oklch(49.4% 0.174 26.4);
Tailwind
colors: {
  custom: {
    50: '#d06d60',
    500: '#af2525',
    950: '#000000',
  },
}
SCSS
$custom: #af2525;
$custom-light: #d06d60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2525",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 37
  },
  "hsl": {
    "h": 0,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.17433,
    "h": 26.4
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#AF2525
secondary
#69C7C7
accent
#E8E840
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2525

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

Preview Lab → · Contrast checker → · Palette generator →

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