#A8267C#A8267C

#A8267C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 345.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A8267C
RGBrgb(168, 38, 124)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 66%)
CMYKcmyk(0%, 77.4%, 26.2%, 34.1%)
CIE-LABlab(39.86, 58.97, -17.64)
CIE-LCHlch(39.86, 61.55, 343.34°)
OKLaboklab(50.61% 0.1789 -0.0469)
OKLCHoklch(50.61% 0.185 345.3)
XYZxyz(20.4806, 11.1686, 20.1421)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8267C #26A852
analogous
#9326A8 #A8267C #A8263B
triadic
#A8267C #7CA826 #267CA8
tetradic
#A8267C #A89326 #26A852 #263BA8
square
#A8267C #A89326 #26A852 #263BA8
split-complementary
#A8267C #3BA826 #26A893
monochromatic
#440F32 #761B57 #A8267C #D2399E #DE6BB7

Accessibility & contrast

On white

6.50
#A8267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8267C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8267C#FFFFFF#000000##FFFFFF
##A8267C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#B4234E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8267c;
/* rgb */ color: rgb(168, 38, 124);
/* oklch */ color: oklch(50.6% 0.185 345.3);
Tailwind
colors: {
  custom: {
    50: '#c66ea2',
    500: '#a8267c',
    950: '#000000',
  },
}
SCSS
$custom: #a8267c;
$custom-light: #c66ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8267c",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 320.308,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.18493,
    "h": 345.3
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8267C

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

Preview Lab → · Contrast checker → · Palette generator →

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