#AF3229#AF3229

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

Color values

HEX#AF3229
RGBrgb(175, 50, 41)
HSLhsl(4, 62%, 42%)
HSVhsv(4, 77%, 69%)
CMYKcmyk(0%, 71.4%, 76.6%, 31.4%)
CIE-LABlab(40.51, 49.93, 34.96)
CIE-LCHlch(40.51, 60.96, 35.00°)
OKLaboklab(50.63% 0.1434 0.0776)
OKLCHoklch(50.63% 0.163 28.4)
XYZxyz(19.2222, 11.5582, 3.3162)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3229 #29A6AF
analogous
#AF2963 #AF3229 #AF7529
triadic
#AF3229 #29AF32 #3229AF
tetradic
#AF3229 #63AF29 #29A6AF #7529AF
square
#AF3229 #63AF29 #29A6AF #7529AF
split-complementary
#AF3229 #29AF75 #2963AF
monochromatic
#4C1612 #7D241D #AF3229 #D34C42 #DE7B74

Accessibility & contrast

On white

6.34
#AF3229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3229
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3229#FFFFFF#000000##FFFFFF
##AF32291.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3229;
/* rgb */ color: rgb(175, 50, 41);
/* oklch */ color: oklch(50.6% 0.163 28.4);
Tailwind
colors: {
  custom: {
    50: '#cf7263',
    500: '#af3229',
    950: '#000000',
  },
}
SCSS
$custom: #af3229;
$custom-light: #cf7263;
$custom-dark: #000000;
JSON
{
  "hex": "#af3229",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 41
  },
  "hsl": {
    "h": 4.03,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.16301,
    "h": 28.4
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#AF3229
secondary
#6EC0C6
accent
#DAE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF3229

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

Preview Lab → · Contrast checker → · Palette generator →

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