#AF2529#AF2529

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

Color values

HEX#AF2529
RGBrgb(175, 37, 41)
HSLhsl(358, 65%, 42%)
HSVhsv(358, 79%, 69%)
CMYKcmyk(0%, 78.9%, 76.6%, 31.4%)
CIE-LABlab(38.90, 54.40, 33.21)
CIE-LCHlch(38.90, 63.74, 31.41°)
OKLaboklab(49.43% 0.1574 0.0738)
OKLCHoklch(49.43% 0.174 25.1)
XYZxyz(18.7432, 10.6002, 3.1565)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2529 #25AFAB
analogous
#AF256E #AF2529 #AF6625
triadic
#AF2529 #29AF25 #2529AF
tetradic
#AF2529 #6EAF25 #25AFAB #6625AF
square
#AF2529 #6EAF25 #25AFAB #6625AF
split-complementary
#AF2529 #25AF66 #256EAF
monochromatic
#4A1011 #7C1A1D #AF2529 #D63C40 #E06E71

Accessibility & contrast

On white

6.73
#AF2529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2529
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2529#FFFFFF#000000##FFFFFF
##AF25291.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504928
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2529;
/* rgb */ color: rgb(175, 37, 41);
/* oklch */ color: oklch(49.4% 0.174 25.1);
Tailwind
colors: {
  custom: {
    50: '#d06d63',
    500: '#af2529',
    950: '#000000',
  },
}
SCSS
$custom: #af2529;
$custom-light: #d06d63;
$custom-dark: #000000;
JSON
{
  "hex": "#af2529",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 41
  },
  "hsl": {
    "h": 358.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.17387,
    "h": 25.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#AF2529
secondary
#69C7C4
accent
#E8E340
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2529

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

Preview Lab → · Contrast checker → · Palette generator →

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