#AB2148#AB2148

#AB2148 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.173 H 10.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AB2148
RGBrgb(171, 33, 72)
HSLhsl(343, 68%, 40%)
HSVhsv(343, 81%, 67%)
CMYKcmyk(0%, 80.7%, 57.9%, 32.9%)
CIE-LABlab(38.23, 56.08, 12.89)
CIE-LCHlch(38.23, 57.54, 12.95°)
OKLaboklab(48.97% 0.1699 0.0323)
OKLCHoklch(48.97% 0.173 10.8)
XYZxyz(18.5100, 10.2163, 7.1269)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2148 #21AB84
analogous
#AB218D #AB2148 #AB3F21
triadic
#AB2148 #48AB21 #2148AB
tetradic
#AB2148 #8DAB21 #21AB84 #3F21AB
square
#AB2148 #8DAB21 #21AB84 #3F21AB
split-complementary
#AB2148 #21AB3F #218DAB
monochromatic
#440D1D #781732 #AB2148 #D73261 #E16588

Accessibility & contrast

On white

6.90
#AB2148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#AB2148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2148
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2148#FFFFFF#000000##FFFFFF
##AB21481.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484849
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2148;
/* rgb */ color: rgb(171, 33, 72);
/* oklch */ color: oklch(49.0% 0.173 10.8);
Tailwind
colors: {
  custom: {
    50: '#cb6b7a',
    500: '#ab2148',
    950: '#000000',
  },
}
SCSS
$custom: #ab2148;
$custom-light: #cb6b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2148",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 343.043,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.48967,
    "c": 0.17291,
    "h": 10.8
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#AB2148
secondary
#61C7AA
accent
#EBBA3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB2148

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

Preview Lab → · Contrast checker → · Palette generator →

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