#A8268F#A8268F

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

Color values

HEX#A8268F
RGBrgb(168, 38, 143)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 77%, 66%)
CMYKcmyk(0%, 77.4%, 14.9%, 34.1%)
CIE-LABlab(40.73, 61.54, -27.98)
CIE-LCHlch(40.73, 67.60, 335.55°)
OKLaboklab(51.52% 0.1817 -0.0761)
OKLCHoklch(51.52% 0.197 337.3)
XYZxyz(21.7999, 11.6963, 27.0908)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8268F #26A83F
analogous
#8026A8 #A8268F #A8264E
triadic
#A8268F #8FA826 #268FA8
tetradic
#A8268F #A88026 #26A83F #264EA8
square
#A8268F #A88026 #26A83F #264EA8
split-complementary
#A8268F #4EA826 #26A880
monochromatic
#440F3A #761B65 #A8268F #D239B5 #DE6BC7

Accessibility & contrast

On white

6.29
#A8268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A8268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8268F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8268F#FFFFFF#000000##FFFFFF
##A8268F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#B12F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8268f;
/* rgb */ color: rgb(168, 38, 143);
/* oklch */ color: oklch(51.5% 0.197 337.3);
Tailwind
colors: {
  custom: {
    50: '#c66fb0',
    500: '#a8268f',
    950: '#000000',
  },
}
SCSS
$custom: #a8268f;
$custom-light: #c66fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8268f",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 311.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.19696,
    "h": 337.3
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#A8268F
secondary
#66C478
accent
#E66142
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8268F

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

Preview Lab → · Contrast checker → · Palette generator →

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