#AB268E#AB268E

#AB268E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 52.0% C 0.198 H 338.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB268E
RGBrgb(171, 38, 142)
HSLhsl(313, 64%, 41%)
HSVhsv(313, 78%, 67%)
CMYKcmyk(0%, 77.8%, 17%, 32.9%)
CIE-LABlab(41.22, 62.09, -26.57)
CIE-LCHlch(41.22, 67.54, 336.83°)
OKLaboklab(51.95% 0.1844 -0.0721)
OKLCHoklch(51.95% 0.198 338.7)
XYZxyz(22.3707, 11.9993, 26.7239)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB268E #26AB43
analogous
#8526AB #AB268E #AB264B
triadic
#AB268E #8EAB26 #268EAB
tetradic
#AB268E #AB8526 #26AB43 #264BAB
square
#AB268E #AB8526 #26AB43 #264BAB
split-complementary
#AB268E #4BAB26 #26AB85
monochromatic
#47103B #791B64 #AB268E #D33BB2 #DF6DC6

Accessibility & contrast

On white

6.18
#AB268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB268E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB268E#FFFFFF#000000##FFFFFF
##AB268E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#B52D58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab268e;
/* rgb */ color: rgb(171, 38, 142);
/* oklch */ color: oklch(52.0% 0.198 338.7);
Tailwind
colors: {
  custom: {
    50: '#c870af',
    500: '#ab268e',
    950: '#000000',
  },
}
SCSS
$custom: #ab268e;
$custom-light: #c870af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab268e",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 313.083,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.19801,
    "h": 338.7
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#AB268E
secondary
#68C57C
accent
#E76541
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB268E

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

Preview Lab → · Contrast checker → · Palette generator →

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