#AB2351#AB2351

#AB2351 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.173 H 6.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2351
RGBrgb(171, 35, 81)
HSLhsl(340, 66%, 40%)
HSVhsv(340, 80%, 67%)
CMYKcmyk(0%, 79.5%, 52.6%, 32.9%)
CIE-LABlab(38.65, 56.19, 7.73)
CIE-LCHlch(38.65, 56.72, 7.83°)
OKLaboklab(49.35% 0.1715 0.02)
OKLCHoklch(49.35% 0.173 6.7)
XYZxyz(18.8826, 10.4568, 8.8070)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2351 #23AB7D
analogous
#AB2395 #AB2351 #AB3923
triadic
#AB2351 #51AB23 #2351AB
tetradic
#AB2351 #95AB23 #23AB7D #3923AB
square
#AB2351 #95AB23 #23AB7D #3923AB
split-complementary
#AB2351 #23AB39 #2395AB
monochromatic
#450E21 #781939 #AB2351 #D6356C #E06891

Accessibility & contrast

On white

6.79
#AB2351 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2351 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2351
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2351#FFFFFF#000000##FFFFFF
##AB23511.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#6A654E
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2351;
/* rgb */ color: rgb(171, 35, 81);
/* oklch */ color: oklch(49.4% 0.173 6.7);
Tailwind
colors: {
  custom: {
    50: '#ca6c81',
    500: '#ab2351',
    950: '#000000',
  },
}
SCSS
$custom: #ab2351;
$custom-light: #ca6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2351",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 339.706,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.17267,
    "h": 6.7
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#AB2351
secondary
#64C6A5
accent
#E9AF3F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AB2351

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

Preview Lab → · Contrast checker → · Palette generator →

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