#AB2833#AB2833

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

Color values

HEX#AB2833
RGBrgb(171, 40, 51)
HSLhsl(355, 62%, 41%)
HSVhsv(355, 77%, 67%)
CMYKcmyk(0%, 76.6%, 70.2%, 32.9%)
CIE-LABlab(38.58, 52.68, 26.60)
CIE-LCHlch(38.58, 59.02, 26.79°)
OKLaboklab(49.1% 0.1547 0.0617)
OKLCHoklch(49.1% 0.167 21.7)
XYZxyz(18.1530, 10.4173, 4.1862)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2833 #28ABA0
analogous
#AB2875 #AB2833 #AB5F28
triadic
#AB2833 #33AB28 #2833AB
tetradic
#AB2833 #75AB28 #28ABA0 #5F28AB
square
#AB2833 #75AB28 #28ABA0 #5F28AB
split-complementary
#AB2833 #28AB5F #2875AB
monochromatic
#481115 #791C24 #AB2833 #D23E4B #DE7079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2833#FFFFFF#000000##FFFFFF
##AB28331.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)
#4F4932
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2833;
/* rgb */ color: rgb(171, 40, 51);
/* oklch */ color: oklch(49.1% 0.167 21.7);
Tailwind
colors: {
  custom: {
    50: '#cc6e6a',
    500: '#ab2833',
    950: '#000000',
  },
}
SCSS
$custom: #ab2833;
$custom-light: #cc6e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2833",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 51
  },
  "hsl": {
    "h": 354.962,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.16657,
    "h": 21.7
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#AB2833
secondary
#6AC4BD
accent
#E5D843
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2833

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

Preview Lab → · Contrast checker → · Palette generator →

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