#AB2839#AB2839

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

Color values

HEX#AB2839
RGBrgb(171, 40, 57)
HSLhsl(352, 62%, 41%)
HSVhsv(352, 77%, 67%)
CMYKcmyk(0%, 76.6%, 66.7%, 32.9%)
CIE-LABlab(38.68, 53.00, 23.00)
CIE-LCHlch(38.68, 57.77, 23.46°)
OKLaboklab(49.2% 0.1571 0.0545)
OKLCHoklch(49.2% 0.166 19.1)
XYZxyz(18.2939, 10.4737, 4.9285)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2839 #28AB9A
analogous
#AB287B #AB2839 #AB5928
triadic
#AB2839 #39AB28 #2839AB
tetradic
#AB2839 #7BAB28 #28AB9A #5928AB
square
#AB2839 #7BAB28 #28AB9A #5928AB
split-complementary
#AB2839 #28AB59 #287BAB
monochromatic
#481118 #791C28 #AB2839 #D23E51 #DE707E

Accessibility & contrast

On white

6.79
#AB2839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2839
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2839#FFFFFF#000000##FFFFFF
##AB28391.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4939
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2839;
/* rgb */ color: rgb(171, 40, 57);
/* oklch */ color: oklch(49.2% 0.166 19.1);
Tailwind
colors: {
  custom: {
    50: '#cc6e6f',
    500: '#ab2839',
    950: '#000000',
  },
}
SCSS
$custom: #ab2839;
$custom-light: #cc6e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2839",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 352.214,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.16625,
    "h": 19.1
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#AB2839
secondary
#6AC4B9
accent
#E5D043
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2839

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

Preview Lab → · Contrast checker → · Palette generator →

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