#A8268D#A8268D

#A8268D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.196 H 338.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A8268D
RGBrgb(168, 38, 141)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 77%, 66%)
CMYKcmyk(0%, 77.4%, 16.1%, 34.1%)
CIE-LABlab(40.63, 61.25, -26.91)
CIE-LCHlch(40.63, 66.91, 336.28°)
OKLaboklab(51.42% 0.1815 -0.0731)
OKLCHoklch(51.42% 0.196 338.1)
XYZxyz(21.6498, 11.6362, 26.3000)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8268D #26A841
analogous
#8226A8 #A8268D #A8264C
triadic
#A8268D #8DA826 #268DA8
tetradic
#A8268D #A88226 #26A841 #264CA8
square
#A8268D #A88226 #26A841 #264CA8
split-complementary
#A8268D #4CA826 #26A882
monochromatic
#440F39 #761B63 #A8268D #D239B2 #DE6BC6

Accessibility & contrast

On white

6.31
#A8268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A8268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8268D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8268D#FFFFFF#000000##FFFFFF
##A8268D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#B22D57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8268d;
/* rgb */ color: rgb(168, 38, 141);
/* oklch */ color: oklch(51.4% 0.196 338.1);
Tailwind
colors: {
  custom: {
    50: '#c66fae',
    500: '#a8268d',
    950: '#000000',
  },
}
SCSS
$custom: #a8268d;
$custom-light: #c66fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8268d",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 312.462,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.19562,
    "h": 338.1
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#A8268D
secondary
#66C479
accent
#E66442
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8268D

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

Preview Lab → · Contrast checker → · Palette generator →

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