#AF263C#AF263C

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

Color values

HEX#AF263C
RGBrgb(175, 38, 60)
HSLhsl(350, 64%, 42%)
HSVhsv(350, 78%, 69%)
CMYKcmyk(0%, 78.3%, 65.7%, 31.4%)
CIE-LABlab(39.29, 55.00, 22.06)
CIE-LCHlch(39.29, 59.26, 21.86°)
OKLaboklab(49.81% 0.1636 0.0526)
OKLCHoklch(49.81% 0.172 17.8)
XYZxyz(19.1900, 10.8294, 5.3539)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF263C #26AF99
analogous
#AF2681 #AF263C #AF5526
triadic
#AF263C #3CAF26 #263CAF
tetradic
#AF263C #81AF26 #26AF99 #5526AF
square
#AF263C #81AF26 #26AF99 #5526AF
split-complementary
#AF263C #26AF55 #2681AF
monochromatic
#4A101A #7D1B2B #AF263C #D53D56 #E07082

Accessibility & contrast

On white

6.63
#AF263C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF263C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF263C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF263C#FFFFFF#000000##FFFFFF
##AF263C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af263c;
/* rgb */ color: rgb(175, 38, 60);
/* oklch */ color: oklch(49.8% 0.172 17.8);
Tailwind
colors: {
  custom: {
    50: '#cf6e71',
    500: '#af263c',
    950: '#000000',
  },
}
SCSS
$custom: #af263c;
$custom-light: #cf6e71;
$custom-dark: #000000;
JSON
{
  "hex": "#af263c",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 350.365,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.17181,
    "h": 17.8
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#AF263C
secondary
#6AC7B8
accent
#E7CD40
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF263C

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

Preview Lab → · Contrast checker → · Palette generator →

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