#AF263B#AF263B

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

Color values

HEX#AF263B
RGBrgb(175, 38, 59)
HSLhsl(351, 64%, 42%)
HSVhsv(351, 78%, 69%)
CMYKcmyk(0%, 78.3%, 66.3%, 31.4%)
CIE-LABlab(39.27, 54.94, 22.66)
CIE-LCHlch(39.27, 59.43, 22.42°)
OKLaboklab(49.8% 0.1632 0.0538)
OKLCHoklch(49.8% 0.172 18.3)
XYZxyz(19.1638, 10.8189, 5.2160)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF263B #26AF9A
analogous
#AF2680 #AF263B #AF5626
triadic
#AF263B #3BAF26 #263BAF
tetradic
#AF263B #80AF26 #26AF9A #5626AF
square
#AF263B #80AF26 #26AF9A #5626AF
split-complementary
#AF263B #26AF56 #2680AF
monochromatic
#4A1019 #7D1B2A #AF263B #D53D55 #E07081

Accessibility & contrast

On white

6.64
#AF263B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF263B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF263B#FFFFFF#000000##FFFFFF
##AF263B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3B
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af263b;
/* rgb */ color: rgb(175, 38, 59);
/* oklch */ color: oklch(49.8% 0.172 18.3);
Tailwind
colors: {
  custom: {
    50: '#cf6d70',
    500: '#af263b',
    950: '#000000',
  },
}
SCSS
$custom: #af263b;
$custom-light: #cf6d70;
$custom-dark: #000000;
JSON
{
  "hex": "#af263b",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 59
  },
  "hsl": {
    "h": 350.803,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.17182,
    "h": 18.3
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF263B

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

Preview Lab → · Contrast checker → · Palette generator →

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