#A7267C#A7267C

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

Color values

HEX#A7267C
RGBrgb(167, 38, 124)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 77.2%, 25.7%, 34.5%)
CIE-LABlab(39.68, 58.72, -17.94)
CIE-LCHlch(39.68, 61.40, 343.01°)
OKLaboklab(50.44% 0.178 -0.0478)
OKLCHoklch(50.44% 0.184 345)
XYZxyz(20.2684, 11.0592, 20.1321)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7267C #26A751
analogous
#9126A7 #A7267C #A7263B
triadic
#A7267C #7CA726 #267CA7
tetradic
#A7267C #A79126 #26A751 #263BA7
square
#A7267C #A79126 #26A751 #263BA7
split-complementary
#A7267C #3BA726 #26A791
monochromatic
#430F32 #751B57 #A7267C #D2389F #DD6AB7

Accessibility & contrast

On white

6.54
#A7267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7267C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7267C#FFFFFF#000000##FFFFFF
##A7267C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B2244E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7267c;
/* rgb */ color: rgb(167, 38, 124);
/* oklch */ color: oklch(50.4% 0.184 345.0);
Tailwind
colors: {
  custom: {
    50: '#c56ea2',
    500: '#a7267c',
    950: '#000000',
  },
}
SCSS
$custom: #a7267c;
$custom-light: #c56ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7267c",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 320,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.18427,
    "h": 345
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7267C

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

Preview Lab → · Contrast checker → · Palette generator →

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