#AF2528#AF2528

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

Color values

HEX#AF2528
RGBrgb(175, 37, 40)
HSLhsl(359, 65%, 42%)
HSVhsv(359, 79%, 69%)
CMYKcmyk(0%, 78.9%, 77.1%, 31.4%)
CIE-LABlab(38.89, 54.36, 33.79)
CIE-LCHlch(38.89, 64.00, 31.86°)
OKLaboklab(49.42% 0.1571 0.0748)
OKLCHoklch(49.42% 0.174 25.5)
XYZxyz(18.7260, 10.5933, 3.0658)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2528 #25AFAC
analogous
#AF256D #AF2528 #AF6725
triadic
#AF2528 #28AF25 #2528AF
tetradic
#AF2528 #6DAF25 #25AFAC #6725AF
square
#AF2528 #6DAF25 #25AFAC #6725AF
split-complementary
#AF2528 #25AF67 #256DAF
monochromatic
#4A1011 #7C1A1C #AF2528 #D63C3F #E06E71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2528#FFFFFF#000000##FFFFFF
##AF25281.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)
#504926
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2528;
/* rgb */ color: rgb(175, 37, 40);
/* oklch */ color: oklch(49.4% 0.174 25.5);
Tailwind
colors: {
  custom: {
    50: '#d06d62',
    500: '#af2528',
    950: '#000000',
  },
}
SCSS
$custom: #af2528;
$custom-light: #d06d62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2528",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 40
  },
  "hsl": {
    "h": 358.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.17398,
    "h": 25.5
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#AF2528
secondary
#69C7C5
accent
#E8E440
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2528

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

Preview Lab → · Contrast checker → · Palette generator →

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