#AB2F48#AB2F48

#AB2F48 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 13.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB2F48
RGBrgb(171, 47, 72)
HSLhsl(348, 57%, 43%)
HSVhsv(348, 73%, 67%)
CMYKcmyk(0%, 72.5%, 57.9%, 32.9%)
CIE-LABlab(39.85, 51.53, 15.10)
CIE-LCHlch(39.85, 53.69, 16.34°)
OKLaboklab(50.17% 0.1552 0.0375)
OKLCHoklch(50.17% 0.16 13.6)
XYZxyz(18.9826, 11.1615, 7.2845)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F48 #2FAB92
analogous
#AB2F86 #AB2F48 #AB542F
triadic
#AB2F48 #48AB2F #2F48AB
tetradic
#AB2F48 #86AB2F #2FAB92 #542FAB
square
#AB2F48 #86AB2F #2FAB92 #542FAB
split-complementary
#AB2F48 #2FAB54 #2F86AB
monochromatic
#4B1520 #7B2234 #AB2F48 #CD4A64 #DA7A8D

Accessibility & contrast

On white

6.50
#AB2F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F48
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F48#FFFFFF#000000##FFFFFF
##AB2F481.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E48
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#BB0D39
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f48;
/* rgb */ color: rgb(171, 47, 72);
/* oklch */ color: oklch(50.2% 0.160 13.6);
Tailwind
colors: {
  custom: {
    50: '#ca717a',
    500: '#ab2f48',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f48;
$custom-light: #ca717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f48",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 347.903,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.15968,
    "h": 13.6
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#AB2F48
secondary
#73C3B3
accent
#E0C148
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F48

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

Preview Lab → · Contrast checker → · Palette generator →

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