#AB2830#AB2830

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

Color values

HEX#AB2830
RGBrgb(171, 40, 48)
HSLhsl(356, 62%, 41%)
HSVhsv(356, 77%, 67%)
CMYKcmyk(0%, 76.6%, 71.9%, 32.9%)
CIE-LABlab(38.54, 52.53, 28.39)
CIE-LCHlch(38.54, 59.71, 28.39°)
OKLaboklab(49.05% 0.1536 0.0651)
OKLCHoklch(49.05% 0.167 23)
XYZxyz(18.0889, 10.3917, 3.8491)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2830 #28ABA3
analogous
#AB2872 #AB2830 #AB6228
triadic
#AB2830 #30AB28 #2830AB
tetradic
#AB2830 #72AB28 #28ABA3 #6228AB
square
#AB2830 #72AB28 #28ABA3 #6228AB
split-complementary
#AB2830 #28AB62 #2872AB
monochromatic
#481114 #791C22 #AB2830 #D23E47 #DE7077

Accessibility & contrast

On white

6.82
#AB2830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2830
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2830#FFFFFF#000000##FFFFFF
##AB28301.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492F
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2830;
/* rgb */ color: rgb(171, 40, 48);
/* oklch */ color: oklch(49.1% 0.167 23.0);
Tailwind
colors: {
  custom: {
    50: '#cc6d68',
    500: '#ab2830',
    950: '#000000',
  },
}
SCSS
$custom: #ab2830;
$custom-light: #cc6d68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2830",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 356.336,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.16682,
    "h": 23
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#AB2830
secondary
#6AC4BF
accent
#E5DB43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2830

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

Preview Lab → · Contrast checker → · Palette generator →

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