#A7266C#A7266C

#A7266C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 352.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A7266C
RGBrgb(167, 38, 108)
HSLhsl(327, 63%, 40%)
HSVhsv(327, 77%, 65%)
CMYKcmyk(0%, 77.2%, 35.3%, 34.5%)
CIE-LABlab(39.05, 56.80, -8.91)
CIE-LCHlch(39.05, 57.49, 351.09°)
OKLaboklab(49.78% 0.1742 -0.0229)
OKLCHoklch(49.78% 0.176 352.5)
XYZxyz(19.3374, 10.6868, 15.2289)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7266C #26A761
analogous
#A226A7 #A7266C #A7262B
triadic
#A7266C #6CA726 #266CA7
tetradic
#A7266C #A7A226 #26A761 #262BA7
square
#A7266C #A7A226 #26A761 #262BA7
split-complementary
#A7266C #2BA726 #26A7A2
monochromatic
#430F2C #751B4C #A7266C #D2388C #DD6AA9

Accessibility & contrast

On white

6.69
#A7266C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A7266C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7266C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7266C#FFFFFF#000000##FFFFFF
##A7266C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#636469
Tritanopia (blue-blind)
#B41946
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7266c;
/* rgb */ color: rgb(167, 38, 108);
/* oklch */ color: oklch(49.8% 0.176 352.5);
Tailwind
colors: {
  custom: {
    50: '#c66e96',
    500: '#a7266c',
    950: '#000000',
  },
}
SCSS
$custom: #a7266c;
$custom-light: #c66e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7266c",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 327.442,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.17574,
    "h": 352.5
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#A7266C
secondary
#65C390
accent
#E68D42
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7266C

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

Preview Lab → · Contrast checker → · Palette generator →

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