#AF263F#AF263F

#AF263F is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.172 H 16.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF263F
RGBrgb(175, 38, 63)
HSLhsl(349, 64%, 42%)
HSVhsv(349, 78%, 69%)
CMYKcmyk(0%, 78.3%, 64%, 31.4%)
CIE-LABlab(39.35, 55.18, 20.25)
CIE-LCHlch(39.35, 58.77, 20.15°)
OKLaboklab(49.87% 0.1648 0.0488)
OKLCHoklch(49.87% 0.172 16.5)
XYZxyz(19.2716, 10.8620, 5.7835)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF263F #26AF96
analogous
#AF2684 #AF263F #AF5226
triadic
#AF263F #3FAF26 #263FAF
tetradic
#AF263F #84AF26 #26AF96 #5226AF
square
#AF263F #84AF26 #26AF96 #5226AF
split-complementary
#AF263F #26AF52 #2684AF
monochromatic
#4A101B #7D1B2D #AF263F #D53D59 #E07084

Accessibility & contrast

On white

6.62
#AF263F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF263F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF263F#FFFFFF#000000##FFFFFF
##AF263F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3F
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af263f;
/* rgb */ color: rgb(175, 38, 63);
/* oklch */ color: oklch(49.9% 0.172 16.5);
Tailwind
colors: {
  custom: {
    50: '#ce6e73',
    500: '#af263f',
    950: '#000000',
  },
}
SCSS
$custom: #af263f;
$custom-light: #ce6e73;
$custom-dark: #000000;
JSON
{
  "hex": "#af263f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 349.051,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.17181,
    "h": 16.5
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#AF263F
secondary
#6AC7B6
accent
#E7C940
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF263F

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

Preview Lab → · Contrast checker → · Palette generator →

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