#A8267D#A8267D

#A8267D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.186 H 344.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A8267D
RGBrgb(168, 38, 125)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 66%)
CMYKcmyk(0%, 77.4%, 25.6%, 34.1%)
CIE-LABlab(39.91, 59.10, -18.20)
CIE-LCHlch(39.91, 61.84, 342.89°)
OKLaboklab(50.66% 0.1791 -0.0485)
OKLCHoklch(50.66% 0.186 344.9)
XYZxyz(20.5441, 11.1940, 20.4768)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8267D #26A851
analogous
#9226A8 #A8267D #A8263C
triadic
#A8267D #7DA826 #267DA8
tetradic
#A8267D #A89226 #26A851 #263CA8
square
#A8267D #A89226 #26A851 #263CA8
split-complementary
#A8267D #3CA826 #26A892
monochromatic
#440F33 #761B58 #A8267D #D239A0 #DE6BB8

Accessibility & contrast

On white

6.48
#A8267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A8267D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8267D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8267D#FFFFFF#000000##FFFFFF
##A8267D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#B3244F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8267d;
/* rgb */ color: rgb(168, 38, 125);
/* oklch */ color: oklch(50.7% 0.186 344.9);
Tailwind
colors: {
  custom: {
    50: '#c66ea2',
    500: '#a8267d',
    950: '#000000',
  },
}
SCSS
$custom: #a8267d;
$custom-light: #c66ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8267d",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 319.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.18551,
    "h": 344.9
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#A8267D
secondary
#66C485
accent
#E67842
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8267D

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

Preview Lab → · Contrast checker → · Palette generator →

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