#A8267B#A8267B

#A8267B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.184 H 345.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A8267B
RGBrgb(168, 38, 123)
HSLhsl(321, 63%, 40%)
HSVhsv(321, 77%, 66%)
CMYKcmyk(0%, 77.4%, 26.8%, 34.1%)
CIE-LABlab(39.82, 58.84, -17.09)
CIE-LCHlch(39.82, 61.27, 343.81°)
OKLaboklab(50.57% 0.1787 -0.0454)
OKLCHoklch(50.57% 0.184 345.8)
XYZxyz(20.4176, 11.1434, 19.8107)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8267B #26A853
analogous
#9426A8 #A8267B #A8263A
triadic
#A8267B #7BA826 #267BA8
tetradic
#A8267B #A89426 #26A853 #263AA8
square
#A8267B #A89426 #26A853 #263AA8
split-complementary
#A8267B #3AA826 #26A894
monochromatic
#440F32 #761B56 #A8267B #D2399D #DE6BB6

Accessibility & contrast

On white

6.51
#A8267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A8267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8267B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8267B#FFFFFF#000000##FFFFFF
##A8267B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5F6678
Tritanopia (blue-blind)
#B4234E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8267b;
/* rgb */ color: rgb(168, 38, 123);
/* oklch */ color: oklch(50.6% 0.184 345.8);
Tailwind
colors: {
  custom: {
    50: '#c66ea1',
    500: '#a8267b',
    950: '#000000',
  },
}
SCSS
$custom: #a8267b;
$custom-light: #c66ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8267b",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 320.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.18435,
    "h": 345.8
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#A8267B
secondary
#66C486
accent
#E67B42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A8267B

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

Preview Lab → · Contrast checker → · Palette generator →

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