#AF253E#AF253E

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

Color values

HEX#AF253E
RGBrgb(175, 37, 62)
HSLhsl(349, 65%, 42%)
HSVhsv(349, 79%, 69%)
CMYKcmyk(0%, 78.9%, 64.6%, 31.4%)
CIE-LABlab(39.22, 55.42, 20.71)
CIE-LCHlch(39.22, 59.16, 20.49°)
OKLaboklab(49.77% 0.1653 0.0497)
OKLCHoklch(49.77% 0.173 16.7)
XYZxyz(19.2123, 10.7878, 5.6271)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF253E #25AF96
analogous
#AF2583 #AF253E #AF5125
triadic
#AF253E #3EAF25 #253EAF
tetradic
#AF253E #83AF25 #25AF96 #5125AF
square
#AF253E #83AF25 #25AF96 #5125AF
split-complementary
#AF253E #25AF51 #2583AF
monochromatic
#4A101A #7C1A2C #AF253E #D63C57 #E06E83

Accessibility & contrast

On white

6.65
#AF253E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF253E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF253E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF253E#FFFFFF#000000##FFFFFF
##AF253E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A3E
Deuteranopia (green-blind)
#70673A
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af253e;
/* rgb */ color: rgb(175, 37, 62);
/* oklch */ color: oklch(49.8% 0.173 16.7);
Tailwind
colors: {
  custom: {
    50: '#ce6d73',
    500: '#af253e',
    950: '#000000',
  },
}
SCSS
$custom: #af253e;
$custom-light: #ce6d73;
$custom-dark: #000000;
JSON
{
  "hex": "#af253e",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 62
  },
  "hsl": {
    "h": 349.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.17265,
    "h": 16.7
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#AF253E
secondary
#69C7B6
accent
#E8CA40
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF253E

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

Preview Lab → · Contrast checker → · Palette generator →

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