#A7268E#A7268E

#A7268E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.196 H 337.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A7268E
RGBrgb(167, 38, 142)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 77.2%, 15%, 34.5%)
CIE-LABlab(40.50, 61.16, -27.74)
CIE-LCHlch(40.50, 67.16, 335.60°)
OKLaboklab(51.31% 0.1806 -0.0755)
OKLCHoklch(51.31% 0.196 337.3)
XYZxyz(21.5124, 11.5568, 26.6837)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7268E #26A73F
analogous
#8026A7 #A7268E #A7264D
triadic
#A7268E #8EA726 #268EA7
tetradic
#A7268E #A78026 #26A73F #264DA7
square
#A7268E #A78026 #26A73F #264DA7
split-complementary
#A7268E #4DA726 #26A780
monochromatic
#430F39 #751B64 #A7268E #D238B4 #DD6AC7

Accessibility & contrast

On white

6.34
#A7268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A7268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7268E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7268E#FFFFFF#000000##FFFFFF
##A7268E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#58668B
Tritanopia (blue-blind)
#B02E58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7268e;
/* rgb */ color: rgb(167, 38, 142);
/* oklch */ color: oklch(51.3% 0.196 337.3);
Tailwind
colors: {
  custom: {
    50: '#c56faf',
    500: '#a7268e',
    950: '#000000',
  },
}
SCSS
$custom: #a7268e;
$custom-light: #c56faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a7268e",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 311.628,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.19571,
    "h": 337.3
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#A7268E
secondary
#65C378
accent
#E66242
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7268E

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

Preview Lab → · Contrast checker → · Palette generator →

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