#AB3038#AB3038

#AB3038 is a mid, vivid red. Relative luminance 0.111; OKLCH L 49.9% C 0.159 H 21.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AB3038
RGBrgb(171, 48, 56)
HSLhsl(356, 56%, 43%)
HSVhsv(356, 72%, 67%)
CMYKcmyk(0%, 71.9%, 67.3%, 32.9%)
CIE-LABlab(39.68, 50.11, 24.87)
CIE-LCHlch(39.68, 55.94, 26.40°)
OKLaboklab(49.94% 0.1476 0.0586)
OKLCHoklch(49.94% 0.159 21.6)
XYZxyz(18.5673, 11.0601, 4.8977)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3038 #30ABA3
analogous
#AB3075 #AB3038 #AB6630
triadic
#AB3038 #38AB30 #3038AB
tetradic
#AB3038 #75AB30 #30ABA3 #6630AB
square
#AB3038 #75AB30 #30ABA3 #6630AB
split-complementary
#AB3038 #30AB66 #3075AB
monochromatic
#4B1519 #7B2328 #AB3038 #CD4C54 #DA7B82

Accessibility & contrast

On white

6.54
#AB3038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB3038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3038
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3038#FFFFFF#000000##FFFFFF
##AB30381.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D37
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#BC0534
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab3038;
/* rgb */ color: rgb(171, 48, 56);
/* oklch */ color: oklch(49.9% 0.159 21.6);
Tailwind
colors: {
  custom: {
    50: '#cb716e',
    500: '#ab3038',
    950: '#000000',
  },
}
SCSS
$custom: #ab3038;
$custom-light: #cb716e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3038",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 56
  },
  "hsl": {
    "h": 356.098,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49943,
    "c": 0.15883,
    "h": 21.6
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#AB3038
secondary
#74C3BD
accent
#DFD648
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB3038

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

Preview Lab → · Contrast checker → · Palette generator →

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