#AB283D#AB283D

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

Color values

HEX#AB283D
RGBrgb(171, 40, 61)
HSLhsl(350, 62%, 41%)
HSVhsv(350, 77%, 67%)
CMYKcmyk(0%, 76.6%, 64.3%, 32.9%)
CIE-LABlab(38.75, 53.23, 20.58)
CIE-LCHlch(38.75, 57.07, 21.14°)
OKLaboklab(49.28% 0.1587 0.0495)
OKLCHoklch(49.28% 0.166 17.3)
XYZxyz(18.3976, 10.5152, 5.4749)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB283D #28AB96
analogous
#AB287F #AB283D #AB5528
triadic
#AB283D #3DAB28 #283DAB
tetradic
#AB283D #7FAB28 #28AB96 #5528AB
square
#AB283D #7FAB28 #28AB96 #5528AB
split-complementary
#AB283D #28AB55 #287FAB
monochromatic
#48111A #791C2B #AB283D #D23E56 #DE7081

Accessibility & contrast

On white

6.77
#AB283D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB283D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB283D#FFFFFF#000000##FFFFFF
##AB283D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A3D
Deuteranopia (green-blind)
#6E6539
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab283d;
/* rgb */ color: rgb(171, 40, 61);
/* oklch */ color: oklch(49.3% 0.166 17.3);
Tailwind
colors: {
  custom: {
    50: '#cb6e72',
    500: '#ab283d',
    950: '#000000',
  },
}
SCSS
$custom: #ab283d;
$custom-light: #cb6e72;
$custom-dark: #000000;
JSON
{
  "hex": "#ab283d",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 61
  },
  "hsl": {
    "h": 350.382,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.16618,
    "h": 17.3
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#AB283D
secondary
#6AC4B6
accent
#E5CB43
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB283D

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

Preview Lab → · Contrast checker → · Palette generator →

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