#A7268C#A7268C

#A7268C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.194 H 338.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A7268C
RGBrgb(167, 38, 140)
HSLhsl(313, 63%, 40%)
HSVhsv(313, 77%, 65%)
CMYKcmyk(0%, 77.2%, 16.2%, 34.5%)
CIE-LABlab(40.41, 60.88, -26.67)
CIE-LCHlch(40.41, 66.46, 336.34°)
OKLaboklab(51.21% 0.1804 -0.0724)
OKLCHoklch(51.21% 0.194 338.1)
XYZxyz(21.3636, 11.4972, 25.8999)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7268C #26A741
analogous
#8126A7 #A7268C #A7264C
triadic
#A7268C #8CA726 #268CA7
tetradic
#A7268C #A78126 #26A741 #264CA7
square
#A7268C #A78126 #26A741 #264CA7
split-complementary
#A7268C #4CA726 #26A781
monochromatic
#430F38 #751B62 #A7268C #D238B2 #DD6AC5

Accessibility & contrast

On white

6.37
#A7268C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A7268C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7268C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7268C#FFFFFF#000000##FFFFFF
##A7268C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#596689
Tritanopia (blue-blind)
#B02D57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7268c;
/* rgb */ color: rgb(167, 38, 140);
/* oklch */ color: oklch(51.2% 0.194 338.1);
Tailwind
colors: {
  custom: {
    50: '#c56fae',
    500: '#a7268c',
    950: '#000000',
  },
}
SCSS
$custom: #a7268c;
$custom-light: #c56fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7268c",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 312.558,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.19437,
    "h": 338.1
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#A7268C
secondary
#65C379
accent
#E66442
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7268C

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

Preview Lab → · Contrast checker → · Palette generator →

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