#AB2834#AB2834

#AB2834 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.167 H 21.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2834
RGBrgb(171, 40, 52)
HSLhsl(355, 62%, 41%)
HSVhsv(355, 77%, 67%)
CMYKcmyk(0%, 76.6%, 69.6%, 32.9%)
CIE-LABlab(38.60, 52.73, 26.01)
CIE-LCHlch(38.60, 58.79, 26.25°)
OKLaboklab(49.11% 0.1551 0.0605)
OKLCHoklch(49.11% 0.167 21.3)
XYZxyz(18.1752, 10.4262, 4.3036)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2834 #28AB9F
analogous
#AB2876 #AB2834 #AB5E28
triadic
#AB2834 #34AB28 #2834AB
tetradic
#AB2834 #76AB28 #28AB9F #5E28AB
square
#AB2834 #76AB28 #28AB9F #5E28AB
split-complementary
#AB2834 #28AB5E #2876AB
monochromatic
#481116 #791C25 #AB2834 #D23E4C #DE707A

Accessibility & contrast

On white

6.81
#AB2834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2834
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2834#FFFFFF#000000##FFFFFF
##AB28341.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4933
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2834;
/* rgb */ color: rgb(171, 40, 52);
/* oklch */ color: oklch(49.1% 0.167 21.3);
Tailwind
colors: {
  custom: {
    50: '#cc6e6b',
    500: '#ab2834',
    950: '#000000',
  },
}
SCSS
$custom: #ab2834;
$custom-light: #cc6e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2834",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 354.504,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.1665,
    "h": 21.3
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#AB2834
secondary
#6AC4BC
accent
#E5D643
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2834

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

Preview Lab → · Contrast checker → · Palette generator →

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