#AF252B#AF252B

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

Color values

HEX#AF252B
RGBrgb(175, 37, 43)
HSLhsl(357, 65%, 42%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 78.9%, 75.4%, 31.4%)
CIE-LABlab(38.92, 54.48, 32.06)
CIE-LCHlch(38.92, 63.21, 30.47°)
OKLaboklab(49.46% 0.1581 0.0718)
OKLCHoklch(49.46% 0.174 24.4)
XYZxyz(18.7790, 10.6145, 3.3450)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF252B #25AFA9
analogous
#AF2570 #AF252B #AF6425
triadic
#AF252B #2BAF25 #252BAF
tetradic
#AF252B #70AF25 #25AFA9 #6425AF
square
#AF252B #70AF25 #25AFA9 #6425AF
split-complementary
#AF252B #25AF64 #2570AF
monochromatic
#4A1012 #7C1A1F #AF252B #D63C42 #E06E73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF252B#FFFFFF#000000##FFFFFF
##AF252B1.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)
#50492A
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af252b;
/* rgb */ color: rgb(175, 37, 43);
/* oklch */ color: oklch(49.5% 0.174 24.4);
Tailwind
colors: {
  custom: {
    50: '#d06d64',
    500: '#af252b',
    950: '#000000',
  },
}
SCSS
$custom: #af252b;
$custom-light: #d06d64;
$custom-dark: #000000;
JSON
{
  "hex": "#af252b",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 43
  },
  "hsl": {
    "h": 357.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.17366,
    "h": 24.4
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#AF252B
secondary
#69C7C3
accent
#E8E140
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #AF252B

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

Preview Lab → · Contrast checker → · Palette generator →

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