#AB275E#AB275E

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

Color values

HEX#AB275E
RGBrgb(171, 39, 94)
HSLhsl(335, 63%, 41%)
HSVhsv(335, 77%, 67%)
CMYKcmyk(0%, 77.2%, 45%, 32.9%)
CIE-LABlab(39.44, 56.12, 0.60)
CIE-LCHlch(39.44, 56.12, 0.62°)
OKLaboklab(50.05% 0.1723 0.0022)
OKLCHoklch(50.05% 0.172 0.7)
XYZxyz(19.5420, 10.9197, 11.6662)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB275E #27AB74
analogous
#AB27A0 #AB275E #AB3227
triadic
#AB275E #5EAB27 #275EAB
tetradic
#AB275E #A0AB27 #27AB74 #3227AB
square
#AB275E #A0AB27 #27AB74 #3227AB
split-complementary
#AB275E #27AB32 #27A0AB
monochromatic
#471027 #791C43 #AB275E #D33D7B #DE6E9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB275E#FFFFFF#000000##FFFFFF
##AB275E1.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)
#464D5F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#BA0B3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab275e;
/* rgb */ color: rgb(171, 39, 94);
/* oklch */ color: oklch(50.1% 0.172 0.7);
Tailwind
colors: {
  custom: {
    50: '#c96e8b',
    500: '#ab275e',
    950: '#000000',
  },
}
SCSS
$custom: #ab275e;
$custom-light: #c96e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab275e",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 335,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.17232,
    "h": 0.7
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#AB275E
secondary
#69C59F
accent
#E6A242
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB275E

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

Preview Lab → · Contrast checker → · Palette generator →

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