#AF3228#AF3228

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

Color values

HEX#AF3228
RGBrgb(175, 50, 40)
HSLhsl(4, 63%, 42%)
HSVhsv(4, 77%, 69%)
CMYKcmyk(0%, 71.4%, 77.1%, 31.4%)
CIE-LABlab(40.49, 49.89, 35.52)
CIE-LCHlch(40.49, 61.25, 35.45°)
OKLaboklab(50.62% 0.143 0.0785)
OKLCHoklch(50.62% 0.163 28.8)
XYZxyz(19.2050, 11.5513, 3.2255)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3228 #28A5AF
analogous
#AF2862 #AF3228 #AF7528
triadic
#AF3228 #28AF32 #3228AF
tetradic
#AF3228 #62AF28 #28A5AF #7528AF
square
#AF3228 #62AF28 #28A5AF #7528AF
split-complementary
#AF3228 #28AF75 #2862AF
monochromatic
#4B1611 #7D241D #AF3228 #D44C41 #DF7B73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3228#FFFFFF#000000##FFFFFF
##AF32281.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)
#574E26
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3228;
/* rgb */ color: rgb(175, 50, 40);
/* oklch */ color: oklch(50.6% 0.163 28.8);
Tailwind
colors: {
  custom: {
    50: '#cf7263',
    500: '#af3228',
    950: '#000000',
  },
}
SCSS
$custom: #af3228;
$custom-light: #cf7263;
$custom-dark: #000000;
JSON
{
  "hex": "#af3228",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 4.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.16317,
    "h": 28.8
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#AF3228
secondary
#6DBFC6
accent
#DAE642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF3228

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

Preview Lab → · Contrast checker → · Palette generator →

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