#AB275C#AB275C

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

Color values

HEX#AB275C
RGBrgb(171, 39, 92)
HSLhsl(336, 63%, 41%)
HSVhsv(336, 77%, 67%)
CMYKcmyk(0%, 77.2%, 46.2%, 32.9%)
CIE-LABlab(39.38, 55.93, 1.78)
CIE-LCHlch(39.38, 55.96, 1.83°)
OKLaboklab(49.99% 0.1716 0.0052)
OKLCHoklch(49.99% 0.172 1.7)
XYZxyz(19.4535, 10.8843, 11.1996)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB275C #27AB76
analogous
#AB279E #AB275C #AB3427
triadic
#AB275C #5CAB27 #275CAB
tetradic
#AB275C #9EAB27 #27AB76 #3427AB
square
#AB275C #9EAB27 #27AB76 #3427AB
split-complementary
#AB275C #27AB34 #279EAB
monochromatic
#471026 #791C41 #AB275C #D33D79 #DE6E9B

Accessibility & contrast

On white

6.61
#AB275C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB275C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB275C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB275C#FFFFFF#000000##FFFFFF
##AB275C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5D
Deuteranopia (green-blind)
#696659
Tritanopia (blue-blind)
#BA093E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab275c;
/* rgb */ color: rgb(171, 39, 92);
/* oklch */ color: oklch(50.0% 0.172 1.7);
Tailwind
colors: {
  custom: {
    50: '#ca6e8a',
    500: '#ab275c',
    950: '#000000',
  },
}
SCSS
$custom: #ab275c;
$custom-light: #ca6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab275c",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 335.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.1717,
    "h": 1.7
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#AB275C
secondary
#69C5A0
accent
#E6A442
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB275C

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

Preview Lab → · Contrast checker → · Palette generator →

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