#AF3827#AF3827

#AF3827 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.158 H 31.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF3827
RGBrgb(175, 56, 39)
HSLhsl(8, 64%, 42%)
HSVhsv(8, 78%, 69%)
CMYKcmyk(0%, 68%, 77.7%, 31.4%)
CIE-LABlab(41.36, 47.46, 37.00)
CIE-LCHlch(41.36, 60.17, 37.94°)
OKLaboklab(51.26% 0.1352 0.0815)
OKLCHoklch(51.26% 0.158 31.1)
XYZxyz(19.4618, 12.0917, 3.2282)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3827 #279EAF
analogous
#AF275A #AF3827 #AF7C27
triadic
#AF3827 #27AF38 #3827AF
tetradic
#AF3827 #5AAF27 #279EAF #7C27AF
square
#AF3827 #5AAF27 #279EAF #7C27AF
split-complementary
#AF3827 #27AF7C #275AAF
monochromatic
#4B1811 #7D281C #AF3827 #D4523F #DF7F71

Accessibility & contrast

On white

6.14
#AF3827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF3827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3827
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3827#FFFFFF#000000##FFFFFF
##AF38271.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#C11235
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3827;
/* rgb */ color: rgb(175, 56, 39);
/* oklch */ color: oklch(51.3% 0.158 31.1);
Tailwind
colors: {
  custom: {
    50: '#cf7562',
    500: '#af3827',
    950: '#000000',
  },
}
SCSS
$custom: #af3827;
$custom-light: #cf7562;
$custom-dark: #000000;
JSON
{
  "hex": "#af3827",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 39
  },
  "hsl": {
    "h": 7.5,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.15784,
    "h": 31.1
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#AF3827
secondary
#6BBBC6
accent
#D2E741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AF3827

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

Preview Lab → · Contrast checker → · Palette generator →

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