#AB2948#AB2948

#AB2948 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 12.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2948
RGBrgb(171, 41, 72)
HSLhsl(346, 61%, 42%)
HSVhsv(346, 76%, 67%)
CMYKcmyk(0%, 76%, 57.9%, 32.9%)
CIE-LABlab(39.10, 53.63, 14.08)
CIE-LCHlch(39.10, 55.45, 14.71°)
OKLaboklab(49.61% 0.162 0.0351)
OKLCHoklch(49.61% 0.166 12.2)
XYZxyz(18.7591, 10.7144, 7.2099)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2948 #29AB8C
analogous
#AB2989 #AB2948 #AB4B29
triadic
#AB2948 #48AB29 #2948AB
tetradic
#AB2948 #89AB29 #29AB8C #4B29AB
square
#AB2948 #89AB29 #29AB8C #4B29AB
split-complementary
#AB2948 #29AB4B #2989AB
monochromatic
#48111E #7A1D33 #AB2948 #D14063 #DD718B

Accessibility & contrast

On white

6.68
#AB2948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2948
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2948#FFFFFF#000000##FFFFFF
##AB29481.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B48
Deuteranopia (green-blind)
#6D6645
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2948;
/* rgb */ color: rgb(171, 41, 72);
/* oklch */ color: oklch(49.6% 0.166 12.2);
Tailwind
colors: {
  custom: {
    50: '#cb6e7a',
    500: '#ab2948',
    950: '#000000',
  },
}
SCSS
$custom: #ab2948;
$custom-light: #cb6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2948",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 345.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.16574,
    "h": 12.2
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#AB2948
secondary
#6CC4AF
accent
#E4BE43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2948

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

Preview Lab → · Contrast checker → · Palette generator →

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