#A7267F#A7267F

#A7267F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.186 H 343.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A7267F
RGBrgb(167, 38, 127)
HSLhsl(319, 63%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 77.2%, 24%, 34.5%)
CIE-LABlab(39.81, 59.11, -19.60)
CIE-LCHlch(39.81, 62.27, 341.65°)
OKLaboklab(50.58% 0.1785 -0.0524)
OKLCHoklch(50.58% 0.186 343.6)
XYZxyz(20.4610, 11.1362, 21.1465)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7267F #26A74E
analogous
#8F26A7 #A7267F #A7263E
triadic
#A7267F #7FA726 #267FA7
tetradic
#A7267F #A78F26 #26A74E #263EA7
square
#A7267F #A78F26 #26A74E #263EA7
split-complementary
#A7267F #3EA726 #26A78F
monochromatic
#430F33 #751B59 #A7267F #D238A2 #DD6ABA

Accessibility & contrast

On white

6.51
#A7267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A7267F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7267F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7267F#FFFFFF#000000##FFFFFF
##A7267F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#B22650
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7267f;
/* rgb */ color: rgb(167, 38, 127);
/* oklch */ color: oklch(50.6% 0.186 343.6);
Tailwind
colors: {
  custom: {
    50: '#c56ea4',
    500: '#a7267f',
    950: '#000000',
  },
}
SCSS
$custom: #a7267f;
$custom-light: #c56ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7267f",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 318.605,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.18606,
    "h": 343.6
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7267F

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

Preview Lab → · Contrast checker → · Palette generator →

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