#A7266B#A7266B

#A7266B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.175 H 353.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A7266B
RGBrgb(167, 38, 107)
HSLhsl(328, 63%, 40%)
HSVhsv(328, 77%, 65%)
CMYKcmyk(0%, 77.2%, 35.9%, 34.5%)
CIE-LABlab(39.01, 56.69, -8.33)
CIE-LCHlch(39.01, 57.30, 351.64°)
OKLaboklab(49.74% 0.174 -0.0214)
OKLCHoklch(49.74% 0.175 353)
XYZxyz(19.2845, 10.6656, 14.9502)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7266B #26A762
analogous
#A226A7 #A7266B #A7262A
triadic
#A7266B #6BA726 #266BA7
tetradic
#A7266B #A7A226 #26A762 #262AA7
square
#A7266B #A7A226 #26A762 #262AA7
split-complementary
#A7266B #2AA726 #26A7A2
monochromatic
#430F2B #751B4B #A7266B #D2388A #DD6AA8

Accessibility & contrast

On white

6.70
#A7266B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A7266B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7266B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7266B#FFFFFF#000000##FFFFFF
##A7266B1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#636468
Tritanopia (blue-blind)
#B41945
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7266b;
/* rgb */ color: rgb(167, 38, 107);
/* oklch */ color: oklch(49.7% 0.175 353.0);
Tailwind
colors: {
  custom: {
    50: '#c66e95',
    500: '#a7266b',
    950: '#000000',
  },
}
SCSS
$custom: #a7266b;
$custom-light: #c66e95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7266b",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 327.907,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.17527,
    "h": 353
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#A7266B
secondary
#65C391
accent
#E68E42
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7266B

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

Preview Lab → · Contrast checker → · Palette generator →

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