#A7267B#A7267B

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

Color values

HEX#A7267B
RGBrgb(167, 38, 123)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 77.2%, 26.3%, 34.5%)
CIE-LABlab(39.64, 58.59, -17.38)
CIE-LCHlch(39.64, 61.12, 343.48°)
OKLaboklab(50.4% 0.1778 -0.0462)
OKLCHoklch(50.4% 0.184 345.4)
XYZxyz(20.2055, 11.0340, 19.8007)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7267B #26A752
analogous
#9226A7 #A7267B #A7263B
triadic
#A7267B #7BA726 #267BA7
tetradic
#A7267B #A79226 #26A752 #263BA7
square
#A7267B #A79226 #26A752 #263BA7
split-complementary
#A7267B #3BA726 #26A792
monochromatic
#430F32 #751B56 #A7267B #D2389D #DD6AB6

Accessibility & contrast

On white

6.55
#A7267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A7267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7267B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7267B#FFFFFF#000000##FFFFFF
##A7267B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#B3234E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7267b;
/* rgb */ color: rgb(167, 38, 123);
/* oklch */ color: oklch(50.4% 0.184 345.4);
Tailwind
colors: {
  custom: {
    50: '#c56ea1',
    500: '#a7267b',
    950: '#000000',
  },
}
SCSS
$custom: #a7267b;
$custom-light: #c56ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a7267b",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 320.465,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.18369,
    "h": 345.4
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#A7267B
secondary
#65C385
accent
#E67A42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A7267B

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

Preview Lab → · Contrast checker → · Palette generator →

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