#A8267E#A8267E

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

Color values

HEX#A8267E
RGBrgb(168, 38, 126)
HSLhsl(319, 63%, 40%)
HSVhsv(319, 77%, 66%)
CMYKcmyk(0%, 77.4%, 25%, 34.1%)
CIE-LABlab(39.95, 59.22, -18.75)
CIE-LCHlch(39.95, 62.12, 342.43°)
OKLaboklab(50.7% 0.1793 -0.05)
OKLCHoklch(50.7% 0.186 344.4)
XYZxyz(20.6083, 11.2197, 20.8149)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8267E #26A850
analogous
#9126A8 #A8267E #A8263D
triadic
#A8267E #7EA826 #267EA8
tetradic
#A8267E #A89126 #26A850 #263DA8
square
#A8267E #A89126 #26A850 #263DA8
split-complementary
#A8267E #3DA826 #26A891
monochromatic
#440F33 #761B59 #A8267E #D239A1 #DE6BB8

Accessibility & contrast

On white

6.47
#A8267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8267E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8267E#FFFFFF#000000##FFFFFF
##A8267E1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#B3254F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8267e;
/* rgb */ color: rgb(168, 38, 126);
/* oklch */ color: oklch(50.7% 0.186 344.4);
Tailwind
colors: {
  custom: {
    50: '#c66ea3',
    500: '#a8267e',
    950: '#000000',
  },
}
SCSS
$custom: #a8267e;
$custom-light: #c66ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8267e",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 319.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.18611,
    "h": 344.4
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#A8267E
secondary
#66C484
accent
#E67742
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8267E

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

Preview Lab → · Contrast checker → · Palette generator →

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