#AF252D#AF252D

#AF252D is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 23.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AF252D
RGBrgb(175, 37, 45)
HSLhsl(357, 65%, 42%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 78.9%, 74.3%, 31.4%)
CIE-LABlab(38.95, 54.56, 30.89)
CIE-LCHlch(38.95, 62.70, 29.52°)
OKLaboklab(49.49% 0.1588 0.0697)
OKLCHoklch(49.49% 0.173 23.7)
XYZxyz(18.8166, 10.6295, 3.5430)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF252D #25AFA7
analogous
#AF2572 #AF252D #AF6225
triadic
#AF252D #2DAF25 #252DAF
tetradic
#AF252D #72AF25 #25AFA7 #6225AF
square
#AF252D #72AF25 #25AFA7 #6225AF
split-complementary
#AF252D #25AF62 #2572AF
monochromatic
#4A1013 #7C1A20 #AF252D #D63C44 #E06E75

Accessibility & contrast

On white

6.72
#AF252D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF252D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF252D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF252D#FFFFFF#000000##FFFFFF
##AF252D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af252d;
/* rgb */ color: rgb(175, 37, 45);
/* oklch */ color: oklch(49.5% 0.173 23.7);
Tailwind
colors: {
  custom: {
    50: '#d06d66',
    500: '#af252d',
    950: '#000000',
  },
}
SCSS
$custom: #af252d;
$custom-light: #d06d66;
$custom-dark: #000000;
JSON
{
  "hex": "#af252d",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 356.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.17346,
    "h": 23.7
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#AF252D
secondary
#69C7C1
accent
#E8DE40
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #AF252D

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

Preview Lab → · Contrast checker → · Palette generator →

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