#AB2F46#AB2F46

#AB2F46 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.160 H 14.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2F46
RGBrgb(171, 47, 70)
HSLhsl(349, 57%, 43%)
HSVhsv(349, 73%, 67%)
CMYKcmyk(0%, 72.5%, 59.1%, 32.9%)
CIE-LABlab(39.81, 51.38, 16.31)
CIE-LCHlch(39.81, 53.91, 17.61°)
OKLaboklab(50.12% 0.1544 0.0403)
OKLCHoklch(50.12% 0.16 14.6)
XYZxyz(18.9184, 11.1358, 6.9464)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F46 #2FAB94
analogous
#AB2F84 #AB2F46 #AB562F
triadic
#AB2F46 #46AB2F #2F46AB
tetradic
#AB2F46 #84AB2F #2FAB94 #562FAB
square
#AB2F46 #84AB2F #2FAB94 #562FAB
split-complementary
#AB2F46 #2FAB56 #2F84AB
monochromatic
#4B151F #7B2232 #AB2F46 #CD4A62 #DA7A8C

Accessibility & contrast

On white

6.51
#AB2F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F46
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F46#FFFFFF#000000##FFFFFF
##AB2F461.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D46
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#BB0C38
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f46;
/* rgb */ color: rgb(171, 47, 70);
/* oklch */ color: oklch(50.1% 0.160 14.6);
Tailwind
colors: {
  custom: {
    50: '#ca7179',
    500: '#ab2f46',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f46;
$custom-light: #ca7179;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f46",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 348.871,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.15957,
    "h": 14.6
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#AB2F46
secondary
#73C3B4
accent
#E0C448
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F46

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

Preview Lab → · Contrast checker → · Palette generator →

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