#AB275F#AB275F

#AB275F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.173 H 0.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB275F
RGBrgb(171, 39, 95)
HSLhsl(335, 63%, 41%)
HSVhsv(335, 77%, 67%)
CMYKcmyk(0%, 77.2%, 44.4%, 32.9%)
CIE-LABlab(39.48, 56.22, 0.01)
CIE-LCHlch(39.48, 56.22, 0.01°)
OKLaboklab(50.09% 0.1727 0.0007)
OKLCHoklch(50.09% 0.173 0.2)
XYZxyz(19.5872, 10.9378, 11.9040)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB275F #27AB73
analogous
#AB27A1 #AB275F #AB3127
triadic
#AB275F #5FAB27 #275FAB
tetradic
#AB275F #A1AB27 #27AB73 #3127AB
square
#AB275F #A1AB27 #27AB73 #3127AB
split-complementary
#AB275F #27AB31 #27A1AB
monochromatic
#471028 #791C43 #AB275F #D33D7C #DE6E9E

Accessibility & contrast

On white

6.59
#AB275F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB275F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB275F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB275F#FFFFFF#000000##FFFFFF
##AB275F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#BA0C40
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab275f;
/* rgb */ color: rgb(171, 39, 95);
/* oklch */ color: oklch(50.1% 0.173 0.2);
Tailwind
colors: {
  custom: {
    50: '#c96e8c',
    500: '#ab275f',
    950: '#000000',
  },
}
SCSS
$custom: #ab275f;
$custom-light: #c96e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab275f",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 334.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.17265,
    "h": 0.2
  },
  "luminance": 0.10935
}

Semantic roles & 50–950 ramp

primary
#AB275F
secondary
#69C59E
accent
#E6A042
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB275F

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

Preview Lab → · Contrast checker → · Palette generator →

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