#AB3F31#AB3F31

#AB3F31 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.6% C 0.145 H 30.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB3F31
RGBrgb(171, 63, 49)
HSLhsl(7, 55%, 43%)
HSVhsv(7, 71%, 67%)
CMYKcmyk(0%, 63.2%, 71.3%, 32.9%)
CIE-LABlab(41.90, 43.43, 31.73)
CIE-LCHlch(41.90, 53.79, 36.15°)
OKLaboklab(51.57% 0.1251 0.0726)
OKLCHoklch(51.57% 0.145 30.1)
XYZxyz(19.1285, 12.4373, 4.2985)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F31 #319DAB
analogous
#AB3160 #AB3F31 #AB7C31
triadic
#AB3F31 #31AB3F #3F31AB
tetradic
#AB3F31 #60AB31 #319DAB #7C31AB
square
#AB3F31 #60AB31 #319DAB #7C31AB
split-complementary
#AB3F31 #31AB7C #3160AB
monochromatic
#4C1C16 #7B2D23 #AB3F31 #CC5C4D #DA877D

Accessibility & contrast

On white

6.02
#AB3F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB3F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F31
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F31#FFFFFF#000000##FFFFFF
##AB3F311.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542F
Deuteranopia (green-blind)
#776C2E
Tritanopia (blue-blind)
#BC253C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3f31;
/* rgb */ color: rgb(171, 63, 49);
/* oklch */ color: oklch(51.6% 0.145 30.1);
Tailwind
colors: {
  custom: {
    50: '#cb7969',
    500: '#ab3f31',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f31;
$custom-light: #cb7969;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f31",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 6.885,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.14465,
    "h": 30.1
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#AB3F31
secondary
#75BAC2
accent
#CEDF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB3F31

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

Preview Lab → · Contrast checker → · Palette generator →

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