#AF253C#AF253C

#AF253C is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.173 H 17.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF253C
RGBrgb(175, 37, 60)
HSLhsl(350, 65%, 42%)
HSVhsv(350, 79%, 69%)
CMYKcmyk(0%, 78.9%, 65.7%, 31.4%)
CIE-LABlab(39.18, 55.30, 21.92)
CIE-LCHlch(39.18, 59.49, 21.62°)
OKLaboklab(49.74% 0.1645 0.0523)
OKLCHoklch(49.74% 0.173 17.6)
XYZxyz(19.1585, 10.7663, 5.3434)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF253C #25AF98
analogous
#AF2581 #AF253C #AF5325
triadic
#AF253C #3CAF25 #253CAF
tetradic
#AF253C #81AF25 #25AF98 #5325AF
square
#AF253C #81AF25 #25AF98 #5325AF
split-complementary
#AF253C #25AF53 #2581AF
monochromatic
#4A1019 #7C1A2B #AF253C #D63C55 #E06E81

Accessibility & contrast

On white

6.66
#AF253C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF253C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF253C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF253C#FFFFFF#000000##FFFFFF
##AF253C1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3C
Deuteranopia (green-blind)
#706738
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af253c;
/* rgb */ color: rgb(175, 37, 60);
/* oklch */ color: oklch(49.7% 0.173 17.6);
Tailwind
colors: {
  custom: {
    50: '#cf6d71',
    500: '#af253c',
    950: '#000000',
  },
}
SCSS
$custom: #af253c;
$custom-light: #cf6d71;
$custom-dark: #000000;
JSON
{
  "hex": "#af253c",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 60
  },
  "hsl": {
    "h": 350,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.17264,
    "h": 17.6
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#AF253C
secondary
#69C7B7
accent
#E8CC40
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF253C

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

Preview Lab → · Contrast checker → · Palette generator →

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