#AB3148#AB3148

#AB3148 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.158 H 14.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AB3148
RGBrgb(171, 49, 72)
HSLhsl(349, 55%, 43%)
HSVhsv(349, 71%, 67%)
CMYKcmyk(0%, 71.3%, 57.9%, 32.9%)
CIE-LABlab(40.12, 50.78, 15.47)
CIE-LCHlch(40.12, 53.08, 16.95°)
OKLaboklab(50.37% 0.1528 0.0384)
OKLCHoklch(50.37% 0.158 14.1)
XYZxyz(19.0644, 11.3251, 7.3117)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3148 #31AB94
analogous
#AB3185 #AB3148 #AB5731
triadic
#AB3148 #48AB31 #3148AB
tetradic
#AB3148 #85AB31 #31AB94 #5731AB
square
#AB3148 #85AB31 #31AB94 #5731AB
split-complementary
#AB3148 #31AB57 #3185AB
monochromatic
#4C1620 #7B2334 #AB3148 #CC4D65 #DA7D8E

Accessibility & contrast

On white

6.43
#AB3148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB3148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3148
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3148#FFFFFF#000000##FFFFFF
##AB31481.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F48
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#BB123A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab3148;
/* rgb */ color: rgb(171, 49, 72);
/* oklch */ color: oklch(50.4% 0.158 14.1);
Tailwind
colors: {
  custom: {
    50: '#ca727a',
    500: '#ab3148',
    950: '#000000',
  },
}
SCSS
$custom: #ab3148;
$custom-light: #ca727a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3148",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 72
  },
  "hsl": {
    "h": 348.689,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.15756,
    "h": 14.1
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#AB3148
secondary
#75C2B4
accent
#DFC349
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB3148

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

Preview Lab → · Contrast checker → · Palette generator →

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