#AB2958#AB2958

#AB2958 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.169 H 4.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB2958
RGBrgb(171, 41, 88)
HSLhsl(338, 61%, 42%)
HSVhsv(338, 76%, 67%)
CMYKcmyk(0%, 76%, 48.5%, 32.9%)
CIE-LABlab(39.50, 54.93, 4.48)
CIE-LCHlch(39.50, 55.11, 4.67°)
OKLaboklab(50.04% 0.1681 0.012)
OKLCHoklch(50.04% 0.169 4.1)
XYZxyz(19.3506, 10.9510, 10.3254)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2958 #29AB7C
analogous
#AB2999 #AB2958 #AB3B29
triadic
#AB2958 #58AB29 #2958AB
tetradic
#AB2958 #99AB29 #29AB7C #3B29AB
square
#AB2958 #99AB29 #29AB7C #3B29AB
split-complementary
#AB2958 #29AB3B #2999AB
monochromatic
#481125 #7A1D3F #AB2958 #D14074 #DD7198

Accessibility & contrast

On white

6.58
#AB2958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2958
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2958#FFFFFF#000000##FFFFFF
##AB29581.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6B6655
Tritanopia (blue-blind)
#BA0A3D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2958;
/* rgb */ color: rgb(171, 41, 88);
/* oklch */ color: oklch(50.0% 0.169 4.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f86',
    500: '#ab2958',
    950: '#000000',
  },
}
SCSS
$custom: #ab2958;
$custom-light: #ca6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2958",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 338.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.16855,
    "h": 4.1
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#AB2958
secondary
#6CC4A4
accent
#E4AA43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2958

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

Preview Lab → · Contrast checker → · Palette generator →

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