#AB3258#AB3258

#AB3258 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.159 H 5.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB3258
RGBrgb(171, 50, 88)
HSLhsl(341, 55%, 43%)
HSVhsv(341, 71%, 67%)
CMYKcmyk(0%, 70.8%, 48.5%, 32.9%)
CIE-LABlab(40.65, 51.72, 6.13)
CIE-LCHlch(40.65, 52.08, 6.76°)
OKLaboklab(50.89% 0.1578 0.0161)
OKLCHoklch(50.89% 0.159 5.8)
XYZxyz(19.6983, 11.6463, 10.4413)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3258 #32AB85
analogous
#AB3294 #AB3258 #AB4832
triadic
#AB3258 #58AB32 #3258AB
tetradic
#AB3258 #94AB32 #32AB85 #4832AB
square
#AB3258 #94AB32 #32AB85 #4832AB
split-complementary
#AB3258 #32AB48 #3294AB
monochromatic
#4C1627 #7C2440 #AB3258 #CB4F76 #D97E9B

Accessibility & contrast

On white

6.31
#AB3258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB3258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3258
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3258#FFFFFF#000000##FFFFFF
##AB32581.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#BA1D41
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3258;
/* rgb */ color: rgb(171, 50, 88);
/* oklch */ color: oklch(50.9% 0.159 5.8);
Tailwind
colors: {
  custom: {
    50: '#c97386',
    500: '#ab3258',
    950: '#000000',
  },
}
SCSS
$custom: #ab3258;
$custom-light: #c97386;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3258",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 341.157,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.15865,
    "h": 5.8
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#AB3258
secondary
#77C2AA
accent
#DEAF4A
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AB3258

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

Preview Lab → · Contrast checker → · Palette generator →

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