#A7258A#A7258A

#A7258A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 338.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A7258A
RGBrgb(167, 37, 138)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 77.8%, 17.4%, 34.5%)
CIE-LABlab(40.21, 60.89, -25.76)
CIE-LCHlch(40.21, 66.12, 337.07°)
OKLaboklab(51.03% 0.1811 -0.0698)
OKLCHoklch(51.03% 0.194 338.9)
XYZxyz(21.1859, 11.3757, 25.1198)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7258A #25A742
analogous
#8325A7 #A7258A #A72549
triadic
#A7258A #8AA725 #258AA7
tetradic
#A7258A #A78325 #25A742 #2549A7
square
#A7258A #A78325 #25A742 #2549A7
split-complementary
#A7258A #49A725 #25A783
monochromatic
#430F37 #751A61 #A7258A #D337B0 #DE69C4

Accessibility & contrast

On white

6.41
#A7258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A7258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7258A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7258A#FFFFFF#000000##FFFFFF
##A7258A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#B12B55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7258a;
/* rgb */ color: rgb(167, 37, 138);
/* oklch */ color: oklch(51.0% 0.194 338.9);
Tailwind
colors: {
  custom: {
    50: '#c56eac',
    500: '#a7258a',
    950: '#000000',
  },
}
SCSS
$custom: #a7258a;
$custom-light: #c56eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a7258a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 313.385,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.19404,
    "h": 338.9
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#A7258A
secondary
#64C479
accent
#E76641
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7258A

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

Preview Lab → · Contrast checker → · Palette generator →

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