#A8268E#A8268E

#A8268E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.196 H 337.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A8268E
RGBrgb(168, 38, 142)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 77%, 66%)
CMYKcmyk(0%, 77.4%, 15.5%, 34.1%)
CIE-LABlab(40.68, 61.40, -27.45)
CIE-LCHlch(40.68, 67.25, 335.91°)
OKLaboklab(51.47% 0.1816 -0.0746)
OKLCHoklch(51.47% 0.196 337.7)
XYZxyz(21.7245, 11.6661, 26.6936)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8268E #26A840
analogous
#8126A8 #A8268E #A8264D
triadic
#A8268E #8EA826 #268EA8
tetradic
#A8268E #A88126 #26A840 #264DA8
square
#A8268E #A88126 #26A840 #264DA8
split-complementary
#A8268E #4DA826 #26A881
monochromatic
#440F3A #761B64 #A8268E #D239B4 #DE6BC7

Accessibility & contrast

On white

6.30
#A8268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8268E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8268E#FFFFFF#000000##FFFFFF
##A8268E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#B12E58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8268e;
/* rgb */ color: rgb(168, 38, 142);
/* oklch */ color: oklch(51.5% 0.196 337.7);
Tailwind
colors: {
  custom: {
    50: '#c66faf',
    500: '#a8268e',
    950: '#000000',
  },
}
SCSS
$custom: #a8268e;
$custom-light: #c66faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8268e",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 312,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.19629,
    "h": 337.7
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8268E

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

Preview Lab → · Contrast checker → · Palette generator →

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