#A7267E#A7267E

#A7267E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 344.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A7267E
RGBrgb(167, 38, 126)
HSLhsl(319, 63%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 77.2%, 24.6%, 34.5%)
CIE-LABlab(39.77, 58.98, -19.05)
CIE-LCHlch(39.77, 61.98, 342.10°)
OKLaboklab(50.54% 0.1784 -0.0508)
OKLCHoklch(50.54% 0.185 344.1)
XYZxyz(20.3962, 11.1103, 20.8050)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7267E #26A74F
analogous
#9026A7 #A7267E #A7263D
triadic
#A7267E #7EA726 #267EA7
tetradic
#A7267E #A79026 #26A74F #263DA7
square
#A7267E #A79026 #26A74F #263DA7
split-complementary
#A7267E #3DA726 #26A790
monochromatic
#430F33 #751B58 #A7267E #D238A1 #DD6AB9

Accessibility & contrast

On white

6.52
#A7267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A7267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7267E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7267E#FFFFFF#000000##FFFFFF
##A7267E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#5E657B
Tritanopia (blue-blind)
#B2254F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7267e;
/* rgb */ color: rgb(167, 38, 126);
/* oklch */ color: oklch(50.5% 0.185 344.1);
Tailwind
colors: {
  custom: {
    50: '#c56ea3',
    500: '#a7267e',
    950: '#000000',
  },
}
SCSS
$custom: #a7267e;
$custom-light: #c56ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a7267e",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 319.07,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.18546,
    "h": 344.1
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#A7267E
secondary
#65C383
accent
#E67642
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7267E

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

Preview Lab → · Contrast checker → · Palette generator →

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