#AF232B#AF232B

#AF232B is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.175 H 24.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AF232B
RGBrgb(175, 35, 43)
HSLhsl(357, 67%, 41%)
HSVhsv(357, 80%, 69%)
CMYKcmyk(0%, 80%, 75.4%, 31.4%)
CIE-LABlab(38.71, 55.07, 31.82)
CIE-LCHlch(38.71, 63.60, 30.02°)
OKLaboklab(49.3% 0.16 0.0713)
OKLCHoklch(49.3% 0.175 24)
XYZxyz(18.7185, 10.4934, 3.3249)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF232B #23AFA7
analogous
#AF2371 #AF232B #AF6123
triadic
#AF232B #2BAF23 #232BAF
tetradic
#AF232B #71AF23 #23AFA7 #6123AF
square
#AF232B #71AF23 #23AFA7 #6123AF
split-complementary
#AF232B #23AF61 #2371AF
monochromatic
#490F12 #7C191E #AF232B #D73841 #E16B72

Accessibility & contrast

On white

6.78
#AF232B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AF232B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF232B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF232B#FFFFFF#000000##FFFFFF
##AF232B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af232b;
/* rgb */ color: rgb(175, 35, 43);
/* oklch */ color: oklch(49.3% 0.175 24.0);
Tailwind
colors: {
  custom: {
    50: '#d06c64',
    500: '#af232b',
    950: '#000000',
  },
}
SCSS
$custom: #af232b;
$custom-light: #d06c64;
$custom-dark: #000000;
JSON
{
  "hex": "#af232b",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 43
  },
  "hsl": {
    "h": 356.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.17516,
    "h": 24
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#AF232B
secondary
#66C7C2
accent
#EAE03E
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #AF232B

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

Preview Lab → · Contrast checker → · Palette generator →

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