#AB275B#AB275B

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

Color values

HEX#AB275B
RGBrgb(171, 39, 91)
HSLhsl(336, 63%, 41%)
HSVhsv(336, 77%, 67%)
CMYKcmyk(0%, 77.2%, 46.8%, 32.9%)
CIE-LABlab(39.36, 55.84, 2.37)
CIE-LCHlch(39.36, 55.89, 2.43°)
OKLaboklab(49.96% 0.1713 0.0067)
OKLCHoklch(49.96% 0.171 2.2)
XYZxyz(19.4100, 10.8669, 10.9709)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB275B #27AB77
analogous
#AB279D #AB275B #AB3527
triadic
#AB275B #5BAB27 #275BAB
tetradic
#AB275B #9DAB27 #27AB77 #3527AB
square
#AB275B #9DAB27 #27AB77 #3527AB
split-complementary
#AB275B #27AB35 #279DAB
monochromatic
#471026 #791C40 #AB275B #D33D78 #DE6E9A

Accessibility & contrast

On white

6.62
#AB275B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB275B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB275B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB275B#FFFFFF#000000##FFFFFF
##AB275B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6A6658
Tritanopia (blue-blind)
#BA083E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab275b;
/* rgb */ color: rgb(171, 39, 91);
/* oklch */ color: oklch(50.0% 0.171 2.2);
Tailwind
colors: {
  custom: {
    50: '#ca6e89',
    500: '#ab275b',
    950: '#000000',
  },
}
SCSS
$custom: #ab275b;
$custom-light: #ca6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#ab275b",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 336.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.17139,
    "h": 2.2
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#AB275B
secondary
#69C5A1
accent
#E6A542
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB275B

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

Preview Lab → · Contrast checker → · Palette generator →

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