#AF252E#AF252E

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

Color values

HEX#AF252E
RGBrgb(175, 37, 46)
HSLhsl(356, 65%, 42%)
HSVhsv(356, 79%, 69%)
CMYKcmyk(0%, 78.9%, 73.7%, 31.4%)
CIE-LABlab(38.96, 54.60, 30.30)
CIE-LCHlch(38.96, 62.45, 29.03°)
OKLaboklab(49.5% 0.1592 0.0687)
OKLCHoklch(49.5% 0.173 23.3)
XYZxyz(18.8361, 10.6373, 3.6456)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF252E #25AFA6
analogous
#AF2573 #AF252E #AF6125
triadic
#AF252E #2EAF25 #252EAF
tetradic
#AF252E #73AF25 #25AFA6 #6125AF
square
#AF252E #73AF25 #25AFA6 #6125AF
split-complementary
#AF252E #25AF61 #2573AF
monochromatic
#4A1013 #7C1A21 #AF252E #D63C46 #E06E76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF252E#FFFFFF#000000##FFFFFF
##AF252E1.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)
#4F492D
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af252e;
/* rgb */ color: rgb(175, 37, 46);
/* oklch */ color: oklch(49.5% 0.173 23.3);
Tailwind
colors: {
  custom: {
    50: '#cf6d67',
    500: '#af252e',
    950: '#000000',
  },
}
SCSS
$custom: #af252e;
$custom-light: #cf6d67;
$custom-dark: #000000;
JSON
{
  "hex": "#af252e",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 356.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.495,
    "c": 0.17337,
    "h": 23.3
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#AF252E
secondary
#69C7C1
accent
#E8DD40
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF252E

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

Preview Lab → · Contrast checker → · Palette generator →

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