#A7267D#A7267D

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

Color values

HEX#A7267D
RGBrgb(167, 38, 125)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 77.2%, 25.1%, 34.5%)
CIE-LABlab(39.72, 58.85, -18.49)
CIE-LCHlch(39.72, 61.69, 342.55°)
OKLaboklab(50.49% 0.1782 -0.0493)
OKLCHoklch(50.49% 0.185 344.5)
XYZxyz(20.3320, 11.0846, 20.4669)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7267D #26A750
analogous
#9126A7 #A7267D #A7263C
triadic
#A7267D #7DA726 #267DA7
tetradic
#A7267D #A79126 #26A750 #263CA7
square
#A7267D #A79126 #26A750 #263CA7
split-complementary
#A7267D #3CA726 #26A791
monochromatic
#430F32 #751B58 #A7267D #D238A0 #DD6AB8

Accessibility & contrast

On white

6.53
#A7267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7267D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7267D#FFFFFF#000000##FFFFFF
##A7267D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#B2244F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7267d;
/* rgb */ color: rgb(167, 38, 125);
/* oklch */ color: oklch(50.5% 0.185 344.5);
Tailwind
colors: {
  custom: {
    50: '#c56ea2',
    500: '#a7267d',
    950: '#000000',
  },
}
SCSS
$custom: #a7267d;
$custom-light: #c56ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7267d",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 319.535,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.18486,
    "h": 344.5
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#A7267D
secondary
#65C384
accent
#E67742
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7267D

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

Preview Lab → · Contrast checker → · Palette generator →

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