#AF252A#AF252A

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

Color values

HEX#AF252A
RGBrgb(175, 37, 42)
HSLhsl(358, 65%, 42%)
HSVhsv(358, 79%, 69%)
CMYKcmyk(0%, 78.9%, 76%, 31.4%)
CIE-LABlab(38.91, 54.44, 32.64)
CIE-LCHlch(38.91, 63.47, 30.94°)
OKLaboklab(49.45% 0.1578 0.0728)
OKLCHoklch(49.45% 0.174 24.8)
XYZxyz(18.7609, 10.6072, 3.2496)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF252A #25AFAA
analogous
#AF256F #AF252A #AF6525
triadic
#AF252A #2AAF25 #252AAF
tetradic
#AF252A #6FAF25 #25AFAA #6525AF
square
#AF252A #6FAF25 #25AFAA #6525AF
split-complementary
#AF252A #25AF65 #256FAF
monochromatic
#4A1012 #7C1A1E #AF252A #D63C41 #E06E72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF252A#FFFFFF#000000##FFFFFF
##AF252A1.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)
#504929
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af252a;
/* rgb */ color: rgb(175, 37, 42);
/* oklch */ color: oklch(49.4% 0.174 24.8);
Tailwind
colors: {
  custom: {
    50: '#d06d64',
    500: '#af252a',
    950: '#000000',
  },
}
SCSS
$custom: #af252a;
$custom-light: #d06d64;
$custom-dark: #000000;
JSON
{
  "hex": "#af252a",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 357.826,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.17377,
    "h": 24.8
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#AF252A
secondary
#69C7C3
accent
#E8E240
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF252A

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

Preview Lab → · Contrast checker → · Palette generator →

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