#AB275D#AB275D

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

Color values

HEX#AB275D
RGBrgb(171, 39, 93)
HSLhsl(335, 63%, 41%)
HSVhsv(335, 77%, 67%)
CMYKcmyk(0%, 77.2%, 45.6%, 32.9%)
CIE-LABlab(39.41, 56.03, 1.19)
CIE-LCHlch(39.41, 56.04, 1.22°)
OKLaboklab(50.02% 0.172 0.0037)
OKLCHoklch(50.02% 0.172 1.2)
XYZxyz(19.4975, 10.9019, 11.4314)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB275D #27AB75
analogous
#AB279F #AB275D #AB3327
triadic
#AB275D #5DAB27 #275DAB
tetradic
#AB275D #9FAB27 #27AB75 #3327AB
square
#AB275D #9FAB27 #27AB75 #3327AB
split-complementary
#AB275D #27AB33 #279FAB
monochromatic
#471027 #791C42 #AB275D #D33D7A #DE6E9C

Accessibility & contrast

On white

6.60
#AB275D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB275D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB275D#FFFFFF#000000##FFFFFF
##AB275D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5E
Deuteranopia (green-blind)
#69665A
Tritanopia (blue-blind)
#BA0A3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab275d;
/* rgb */ color: rgb(171, 39, 93);
/* oklch */ color: oklch(50.0% 0.172 1.2);
Tailwind
colors: {
  custom: {
    50: '#c96e8a',
    500: '#ab275d',
    950: '#000000',
  },
}
SCSS
$custom: #ab275d;
$custom-light: #c96e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab275d",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 335.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.172,
    "h": 1.2
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#AB275D
secondary
#69C59F
accent
#E6A342
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB275D

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

Preview Lab → · Contrast checker → · Palette generator →

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