#A8268B#A8268B

#A8268B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.194 H 338.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A8268B
RGBrgb(168, 38, 139)
HSLhsl(313, 63%, 40%)
HSVhsv(313, 77%, 66%)
CMYKcmyk(0%, 77.4%, 17.3%, 34.1%)
CIE-LABlab(40.54, 60.97, -25.84)
CIE-LCHlch(40.54, 66.22, 337.03°)
OKLaboklab(51.32% 0.1812 -0.07)
OKLCHoklch(51.32% 0.194 338.9)
XYZxyz(21.5023, 11.5773, 25.5233)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8268B #26A843
analogous
#8426A8 #A8268B #A8264A
triadic
#A8268B #8BA826 #268BA8
tetradic
#A8268B #A88426 #26A843 #264AA8
square
#A8268B #A88426 #26A843 #264AA8
split-complementary
#A8268B #4AA826 #26A884
monochromatic
#440F38 #761B62 #A8268B #D239B0 #DE6BC4

Accessibility & contrast

On white

6.33
#A8268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A8268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8268B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8268B#FFFFFF#000000##FFFFFF
##A8268B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#B22C56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8268b;
/* rgb */ color: rgb(168, 38, 139);
/* oklch */ color: oklch(51.3% 0.194 338.9);
Tailwind
colors: {
  custom: {
    50: '#c66fad',
    500: '#a8268b',
    950: '#000000',
  },
}
SCSS
$custom: #a8268b;
$custom-light: #c66fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8268b",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 313.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.19428,
    "h": 338.9
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#A8268B
secondary
#66C47B
accent
#E66642
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8268B

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

Preview Lab → · Contrast checker → · Palette generator →

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