#A6268E#A6268E

#A6268E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.195 H 337.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A6268E
RGBrgb(166, 38, 142)
HSLhsl(311, 63%, 40%)
HSVhsv(311, 77%, 65%)
CMYKcmyk(0%, 77.1%, 14.5%, 34.9%)
CIE-LABlab(40.33, 60.93, -28.03)
CIE-LCHlch(40.33, 67.07, 335.30°)
OKLaboklab(51.15% 0.1796 -0.0763)
OKLCHoklch(51.15% 0.195 337)
XYZxyz(21.3019, 11.4482, 26.6738)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6268E #26A63E
analogous
#7E26A6 #A6268E #A6264E
triadic
#A6268E #8EA626 #268EA6
tetradic
#A6268E #A67E26 #26A63E #264EA6
square
#A6268E #A67E26 #26A63E #264EA6
split-complementary
#A6268E #4EA626 #26A67E
monochromatic
#420F39 #741B63 #A6268E #D138B5 #DD6AC7

Accessibility & contrast

On white

6.38
#A6268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A6268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6268E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6268E#FFFFFF#000000##FFFFFF
##A6268E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AF2F58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6268e;
/* rgb */ color: rgb(166, 38, 142);
/* oklch */ color: oklch(51.1% 0.195 337.0);
Tailwind
colors: {
  custom: {
    50: '#c46faf',
    500: '#a6268e',
    950: '#000000',
  },
}
SCSS
$custom: #a6268e;
$custom-light: #c46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a6268e",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 311.25,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.19515,
    "h": 337
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#A6268E
secondary
#65C377
accent
#E66142
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6268E

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

Preview Lab → · Contrast checker → · Palette generator →

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