#A6268B#A6268B

#A6268B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.193 H 338.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A6268B
RGBrgb(166, 38, 139)
HSLhsl(313, 63%, 40%)
HSVhsv(313, 77%, 65%)
CMYKcmyk(0%, 77.1%, 16.3%, 34.9%)
CIE-LABlab(40.18, 60.50, -26.42)
CIE-LCHlch(40.18, 66.02, 336.41°)
OKLaboklab(50.99% 0.1793 -0.0717)
OKLCHoklch(50.99% 0.193 338.2)
XYZxyz(21.0797, 11.3593, 25.5035)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6268B #26A641
analogous
#8126A6 #A6268B #A6264B
triadic
#A6268B #8BA626 #268BA6
tetradic
#A6268B #A68126 #26A641 #264BA6
square
#A6268B #A68126 #26A641 #264BA6
split-complementary
#A6268B #4BA626 #26A681
monochromatic
#420F38 #741B61 #A6268B #D138B1 #DD6AC5

Accessibility & contrast

On white

6.42
#A6268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A6268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6268B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6268B#FFFFFF#000000##FFFFFF
##A6268B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#AF2D56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6268b;
/* rgb */ color: rgb(166, 38, 139);
/* oklch */ color: oklch(51.0% 0.193 338.2);
Tailwind
colors: {
  custom: {
    50: '#c46fad',
    500: '#a6268b',
    950: '#000000',
  },
}
SCSS
$custom: #a6268b;
$custom-light: #c46fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a6268b",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 312.656,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.19312,
    "h": 338.2
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#A6268B
secondary
#65C379
accent
#E66542
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6268B

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

Preview Lab → · Contrast checker → · Palette generator →

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