#AB255C#AB255C

#AB255C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.174 H 1.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AB255C
RGBrgb(171, 37, 92)
HSLhsl(335, 64%, 41%)
HSVhsv(335, 78%, 67%)
CMYKcmyk(0%, 78.4%, 46.2%, 32.9%)
CIE-LABlab(39.17, 56.55, 1.47)
CIE-LCHlch(39.17, 56.57, 1.49°)
OKLaboklab(49.83% 0.1736 0.0044)
OKLCHoklch(49.83% 0.174 1.4)
XYZxyz(19.3895, 10.7564, 11.1783)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB255C #25AB74
analogous
#AB259F #AB255C #AB3125
triadic
#AB255C #5CAB25 #255CAB
tetradic
#AB255C #9FAB25 #25AB74 #3125AB
square
#AB255C #9FAB25 #25AB74 #3125AB
split-complementary
#AB255C #25AB31 #259FAB
monochromatic
#460F26 #791A41 #AB255C #D43979 #DF6B9B

Accessibility & contrast

On white

6.66
#AB255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB255C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB255C#FFFFFF#000000##FFFFFF
##AB255C1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5D
Deuteranopia (green-blind)
#696659
Tritanopia (blue-blind)
#BA043D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab255c;
/* rgb */ color: rgb(171, 37, 92);
/* oklch */ color: oklch(49.8% 0.174 1.4);
Tailwind
colors: {
  custom: {
    50: '#ca6d8a',
    500: '#ab255c',
    950: '#000000',
  },
}
SCSS
$custom: #ab255c;
$custom-light: #ca6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab255c",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 335.373,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.17365,
    "h": 1.4
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#AB255C
secondary
#67C59E
accent
#E7A340
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB255C

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

Preview Lab → · Contrast checker → · Palette generator →

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