#A6267E#A6267E

#A6267E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.185 H 343.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A6267E
RGBrgb(166, 38, 126)
HSLhsl(319, 63%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 77.1%, 24.1%, 34.9%)
CIE-LABlab(39.58, 58.73, -19.34)
CIE-LCHlch(39.58, 61.83, 341.77°)
OKLaboklab(50.37% 0.1774 -0.0517)
OKLCHoklch(50.37% 0.185 343.8)
XYZxyz(20.1857, 11.0017, 20.7951)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6267E #26A64E
analogous
#8E26A6 #A6267E #A6263E
triadic
#A6267E #7EA626 #267EA6
tetradic
#A6267E #A68E26 #26A64E #263EA6
square
#A6267E #A68E26 #26A64E #263EA6
split-complementary
#A6267E #3EA626 #26A68E
monochromatic
#420F32 #741B58 #A6267E #D138A1 #DD6AB9

Accessibility & contrast

On white

6.56
#A6267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A6267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6267E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6267E#FFFFFF#000000##FFFFFF
##A6267E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B1254F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6267e;
/* rgb */ color: rgb(166, 38, 126);
/* oklch */ color: oklch(50.4% 0.185 343.8);
Tailwind
colors: {
  custom: {
    50: '#c56ea3',
    500: '#a6267e',
    950: '#000000',
  },
}
SCSS
$custom: #a6267e;
$custom-light: #c56ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6267e",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 318.75,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.18481,
    "h": 343.8
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#A6267E
secondary
#65C382
accent
#E67542
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6267E

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

Preview Lab → · Contrast checker → · Palette generator →

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