#AF252C#AF252C

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

Color values

HEX#AF252C
RGBrgb(175, 37, 44)
HSLhsl(357, 65%, 42%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 78.9%, 74.9%, 31.4%)
CIE-LABlab(38.94, 54.52, 31.47)
CIE-LCHlch(38.94, 62.95, 30.00°)
OKLaboklab(49.47% 0.1585 0.0708)
OKLCHoklch(49.47% 0.174 24.1)
XYZxyz(18.7976, 10.6219, 3.4429)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF252C #25AFA8
analogous
#AF2571 #AF252C #AF6325
triadic
#AF252C #2CAF25 #252CAF
tetradic
#AF252C #71AF25 #25AFA8 #6325AF
square
#AF252C #71AF25 #25AFA8 #6325AF
split-complementary
#AF252C #25AF63 #2571AF
monochromatic
#4A1013 #7C1A1F #AF252C #D63C43 #E06E74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF252C#FFFFFF#000000##FFFFFF
##AF252C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af252c;
/* rgb */ color: rgb(175, 37, 44);
/* oklch */ color: oklch(49.5% 0.174 24.1);
Tailwind
colors: {
  custom: {
    50: '#d06d65',
    500: '#af252c',
    950: '#000000',
  },
}
SCSS
$custom: #af252c;
$custom-light: #d06d65;
$custom-dark: #000000;
JSON
{
  "hex": "#af252c",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 44
  },
  "hsl": {
    "h": 356.957,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.17356,
    "h": 24.1
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#AF252C
secondary
#69C7C2
accent
#E8E040
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #AF252C

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

Preview Lab → · Contrast checker → · Palette generator →

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