#AF253D#AF253D

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

Color values

HEX#AF253D
RGBrgb(175, 37, 61)
HSLhsl(350, 65%, 42%)
HSVhsv(350, 79%, 69%)
CMYKcmyk(0%, 78.9%, 65.1%, 31.4%)
CIE-LABlab(39.20, 55.36, 21.32)
CIE-LCHlch(39.20, 59.32, 21.06°)
OKLaboklab(49.75% 0.1649 0.051)
OKLCHoklch(49.75% 0.173 17.2)
XYZxyz(19.1852, 10.7769, 5.4839)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF253D #25AF97
analogous
#AF2582 #AF253D #AF5225
triadic
#AF253D #3DAF25 #253DAF
tetradic
#AF253D #82AF25 #25AF97 #5225AF
square
#AF253D #82AF25 #25AF97 #5225AF
split-complementary
#AF253D #25AF52 #2582AF
monochromatic
#4A101A #7C1A2B #AF253D #D63C56 #E06E82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF253D#FFFFFF#000000##FFFFFF
##AF253D1.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)
#4E4A3D
Deuteranopia (green-blind)
#706739
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af253d;
/* rgb */ color: rgb(175, 37, 61);
/* oklch */ color: oklch(49.8% 0.173 17.2);
Tailwind
colors: {
  custom: {
    50: '#cf6d72',
    500: '#af253d',
    950: '#000000',
  },
}
SCSS
$custom: #af253d;
$custom-light: #cf6d72;
$custom-dark: #000000;
JSON
{
  "hex": "#af253d",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 61
  },
  "hsl": {
    "h": 349.565,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.17264,
    "h": 17.2
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF253D

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

Preview Lab → · Contrast checker → · Palette generator →

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