#AB283A#AB283A

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

Color values

HEX#AB283A
RGBrgb(171, 40, 58)
HSLhsl(352, 62%, 41%)
HSVhsv(352, 77%, 67%)
CMYKcmyk(0%, 76.6%, 66.1%, 32.9%)
CIE-LABlab(38.70, 53.06, 22.39)
CIE-LCHlch(38.70, 57.59, 22.88°)
OKLaboklab(49.22% 0.1575 0.0533)
OKLCHoklch(49.22% 0.166 18.7)
XYZxyz(18.3191, 10.4838, 5.0611)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB283A #28AB99
analogous
#AB287C #AB283A #AB5828
triadic
#AB283A #3AAB28 #283AAB
tetradic
#AB283A #7CAB28 #28AB99 #5828AB
square
#AB283A #7CAB28 #28AB99 #5828AB
split-complementary
#AB283A #28AB58 #287CAB
monochromatic
#481118 #791C29 #AB283A #D23E53 #DE707F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB283A#FFFFFF#000000##FFFFFF
##AB283A1.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)
#4E493A
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab283a;
/* rgb */ color: rgb(171, 40, 58);
/* oklch */ color: oklch(49.2% 0.166 18.7);
Tailwind
colors: {
  custom: {
    50: '#cc6e70',
    500: '#ab283a',
    950: '#000000',
  },
}
SCSS
$custom: #ab283a;
$custom-light: #cc6e70;
$custom-dark: #000000;
JSON
{
  "hex": "#ab283a",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 351.756,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.16622,
    "h": 18.7
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#AB283A
secondary
#6AC4B8
accent
#E5CF43
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB283A

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

Preview Lab → · Contrast checker → · Palette generator →

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