#AF253F#AF253F

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

Color values

HEX#AF253F
RGBrgb(175, 37, 63)
HSLhsl(349, 65%, 42%)
HSVhsv(349, 79%, 69%)
CMYKcmyk(0%, 78.9%, 64%, 31.4%)
CIE-LABlab(39.24, 55.48, 20.11)
CIE-LCHlch(39.24, 59.01, 19.92°)
OKLaboklab(49.79% 0.1657 0.0484)
OKLCHoklch(49.79% 0.173 16.3)
XYZxyz(19.2400, 10.7989, 5.7730)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF253F #25AF95
analogous
#AF2584 #AF253F #AF5025
triadic
#AF253F #3FAF25 #253FAF
tetradic
#AF253F #84AF25 #25AF95 #5025AF
square
#AF253F #84AF25 #25AF95 #5025AF
split-complementary
#AF253F #25AF50 #2584AF
monochromatic
#4A101B #7C1A2D #AF253F #D63C59 #E06E84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF253F#FFFFFF#000000##FFFFFF
##AF253F1.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)
#4D4A3F
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#AF253F
secondary
#69C7B5
accent
#E8C840
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF253F

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

Preview Lab → · Contrast checker → · Palette generator →

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