#AF263D#AF263D

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

Color values

HEX#AF263D
RGBrgb(175, 38, 61)
HSLhsl(350, 64%, 42%)
HSVhsv(350, 78%, 69%)
CMYKcmyk(0%, 78.3%, 65.1%, 31.4%)
CIE-LABlab(39.31, 55.06, 21.45)
CIE-LCHlch(39.31, 59.09, 21.29°)
OKLaboklab(49.83% 0.164 0.0513)
OKLCHoklch(49.83% 0.172 17.4)
XYZxyz(19.2167, 10.8400, 5.4945)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF263D #26AF98
analogous
#AF2682 #AF263D #AF5426
triadic
#AF263D #3DAF26 #263DAF
tetradic
#AF263D #82AF26 #26AF98 #5426AF
square
#AF263D #82AF26 #26AF98 #5426AF
split-complementary
#AF263D #26AF54 #2682AF
monochromatic
#4A101A #7D1B2B #AF263D #D53D57 #E07082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #af263d;
/* rgb */ color: rgb(175, 38, 61);
/* oklch */ color: oklch(49.8% 0.172 17.4);
Tailwind
colors: {
  custom: {
    50: '#ce6e72',
    500: '#af263d',
    950: '#000000',
  },
}
SCSS
$custom: #af263d;
$custom-light: #ce6e72;
$custom-dark: #000000;
JSON
{
  "hex": "#af263d",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 61
  },
  "hsl": {
    "h": 349.927,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.1718,
    "h": 17.4
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#AF263D
secondary
#6AC7B7
accent
#E7CB40
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF263D

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

Preview Lab → · Contrast checker → · Palette generator →

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