#AF2526#AF2526

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

Color values

HEX#AF2526
RGBrgb(175, 37, 38)
HSLhsl(360, 65%, 42%)
HSVhsv(360, 79%, 69%)
CMYKcmyk(0%, 78.9%, 78.3%, 31.4%)
CIE-LABlab(38.86, 54.29, 34.93)
CIE-LCHlch(38.86, 64.55, 32.76°)
OKLaboklab(49.4% 0.1564 0.0767)
OKLCHoklch(49.4% 0.174 26.1)
XYZxyz(18.6929, 10.5800, 2.8912)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2526 #25AFAE
analogous
#AF256B #AF2526 #AF6925
triadic
#AF2526 #26AF25 #2526AF
tetradic
#AF2526 #6BAF25 #25AFAE #6925AF
square
#AF2526 #6BAF25 #25AFAE #6925AF
split-complementary
#AF2526 #25AF69 #256BAF
monochromatic
#4A1010 #7C1A1B #AF2526 #D63C3D #E06E6F

Accessibility & contrast

On white

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

On black

3.12
#AF2526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2526#FFFFFF#000000##FFFFFF
##AF25261.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2526;
/* rgb */ color: rgb(175, 37, 38);
/* oklch */ color: oklch(49.4% 0.174 26.1);
Tailwind
colors: {
  custom: {
    50: '#d06d61',
    500: '#af2526',
    950: '#000000',
  },
}
SCSS
$custom: #af2526;
$custom-light: #d06d61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2526",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 38
  },
  "hsl": {
    "h": 359.565,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.17421,
    "h": 26.1
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#AF2526
secondary
#69C7C6
accent
#E8E740
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2526

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

Preview Lab → · Contrast checker → · Palette generator →

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