#AF252F#AF252F

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

Color values

HEX#AF252F
RGBrgb(175, 37, 47)
HSLhsl(356, 65%, 42%)
HSVhsv(356, 79%, 69%)
CMYKcmyk(0%, 78.9%, 73.1%, 31.4%)
CIE-LABlab(38.98, 54.65, 29.71)
CIE-LCHlch(38.98, 62.20, 28.53°)
OKLaboklab(49.51% 0.1596 0.0676)
OKLCHoklch(49.51% 0.173 23)
XYZxyz(18.8560, 10.6453, 3.7507)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF252F #25AFA5
analogous
#AF2574 #AF252F #AF6025
triadic
#AF252F #2FAF25 #252FAF
tetradic
#AF252F #74AF25 #25AFA5 #6025AF
square
#AF252F #74AF25 #25AFA5 #6025AF
split-complementary
#AF252F #25AF60 #2574AF
monochromatic
#4A1014 #7C1A21 #AF252F #D63C47 #E06E76

Accessibility & contrast

On white

6.71
#AF252F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF252F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF252F#FFFFFF#000000##FFFFFF
##AF252F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492E
Deuteranopia (green-blind)
#72662A
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af252f;
/* rgb */ color: rgb(175, 37, 47);
/* oklch */ color: oklch(49.5% 0.173 23.0);
Tailwind
colors: {
  custom: {
    50: '#cf6d67',
    500: '#af252f',
    950: '#000000',
  },
}
SCSS
$custom: #af252f;
$custom-light: #cf6d67;
$custom-dark: #000000;
JSON
{
  "hex": "#af252f",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 355.652,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.17328,
    "h": 23
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#AF252F
secondary
#69C7C0
accent
#E8DC40
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF252F

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

Preview Lab → · Contrast checker → · Palette generator →

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