#AB2B45#AB2B45

#AB2B45 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.164 H 14.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB2B45
RGBrgb(171, 43, 69)
HSLhsl(348, 60%, 42%)
HSVhsv(348, 75%, 67%)
CMYKcmyk(0%, 74.9%, 59.6%, 32.9%)
CIE-LABlab(39.27, 52.74, 16.22)
CIE-LCHlch(39.27, 55.18, 17.09°)
OKLaboklab(49.72% 0.1586 0.04)
OKLCHoklch(49.72% 0.164 14.1)
XYZxyz(18.7345, 10.8181, 6.7307)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B45 #2BAB91
analogous
#AB2B85 #AB2B45 #AB512B
triadic
#AB2B45 #45AB2B #2B45AB
tetradic
#AB2B45 #85AB2B #2BAB91 #512BAB
square
#AB2B45 #85AB2B #2BAB91 #512BAB
split-complementary
#AB2B45 #2BAB51 #2B85AB
monochromatic
#49121E #7A1F31 #AB2B45 #D04360 #DC7489

Accessibility & contrast

On white

6.64
#AB2B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B45
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B45#FFFFFF#000000##FFFFFF
##AB2B451.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2b45;
/* rgb */ color: rgb(171, 43, 69);
/* oklch */ color: oklch(49.7% 0.164 14.1);
Tailwind
colors: {
  custom: {
    50: '#cb6f78',
    500: '#ab2b45',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b45;
$custom-light: #cb6f78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b45",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 347.813,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.16357,
    "h": 14.1
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#AB2B45
secondary
#6EC4B2
accent
#E3C345
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2B45

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

Preview Lab → · Contrast checker → · Palette generator →

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