#AF3227#AF3227

#AF3227 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 29.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF3227
RGBrgb(175, 50, 39)
HSLhsl(5, 64%, 42%)
HSVhsv(5, 78%, 69%)
CMYKcmyk(0%, 71.4%, 77.7%, 31.4%)
CIE-LABlab(40.48, 49.85, 36.07)
CIE-LCHlch(40.48, 61.54, 35.89°)
OKLaboklab(50.61% 0.1427 0.0795)
OKLCHoklch(50.61% 0.163 29.1)
XYZxyz(19.1882, 11.5446, 3.1370)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3227 #27A4AF
analogous
#AF2760 #AF3227 #AF7627
triadic
#AF3227 #27AF32 #3227AF
tetradic
#AF3227 #60AF27 #27A4AF #7627AF
square
#AF3227 #60AF27 #27A4AF #7627AF
split-complementary
#AF3227 #27AF76 #2760AF
monochromatic
#4B1511 #7D241C #AF3227 #D44B3F #DF7A71

Accessibility & contrast

On white

6.35
#AF3227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF3227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3227
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3227#FFFFFF#000000##FFFFFF
##AF32271.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E25
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3227;
/* rgb */ color: rgb(175, 50, 39);
/* oklch */ color: oklch(50.6% 0.163 29.1);
Tailwind
colors: {
  custom: {
    50: '#cf7262',
    500: '#af3227',
    950: '#000000',
  },
}
SCSS
$custom: #af3227;
$custom-light: #cf7262;
$custom-dark: #000000;
JSON
{
  "hex": "#af3227",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 39
  },
  "hsl": {
    "h": 4.853,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.16333,
    "h": 29.1
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#AF3227
secondary
#6BBFC6
accent
#D9E741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF3227

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

Preview Lab → · Contrast checker → · Palette generator →

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