#A7266F#A7266F

#A7266F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.177 H 351.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A7266F
RGBrgb(167, 38, 111)
HSLhsl(326, 63%, 40%)
HSVhsv(326, 77%, 65%)
CMYKcmyk(0%, 77.2%, 33.5%, 34.5%)
CIE-LABlab(39.16, 57.14, -10.62)
CIE-LCHlch(39.16, 58.12, 349.47°)
OKLaboklab(49.9% 0.175 -0.0276)
OKLCHoklch(49.9% 0.177 351)
XYZxyz(19.4998, 10.7517, 16.0843)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7266F #26A75E
analogous
#9F26A7 #A7266F #A7262E
triadic
#A7266F #6FA726 #266FA7
tetradic
#A7266F #A79F26 #26A75E #262EA7
square
#A7266F #A79F26 #26A75E #262EA7
split-complementary
#A7266F #2EA726 #26A79F
monochromatic
#430F2D #751B4E #A7266F #D2388F #DD6AAB

Accessibility & contrast

On white

6.67
#A7266F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A7266F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7266F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7266F#FFFFFF#000000##FFFFFF
##A7266F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E71
Deuteranopia (green-blind)
#62656C
Tritanopia (blue-blind)
#B41B47
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7266f;
/* rgb */ color: rgb(167, 38, 111);
/* oklch */ color: oklch(49.9% 0.177 351.0);
Tailwind
colors: {
  custom: {
    50: '#c66e98',
    500: '#a7266f',
    950: '#000000',
  },
}
SCSS
$custom: #a7266f;
$custom-light: #c66e98;
$custom-dark: #000000;
JSON
{
  "hex": "#a7266f",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 326.047,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.17719,
    "h": 351
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#A7266F
secondary
#65C38E
accent
#E68942
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7266F

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

Preview Lab → · Contrast checker → · Palette generator →

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