#A7258B#A7258B

#A7258B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.195 H 338.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A7258B
RGBrgb(167, 37, 139)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 77.8%, 16.8%, 34.5%)
CIE-LABlab(40.25, 61.03, -26.29)
CIE-LCHlch(40.25, 66.46, 336.69°)
OKLaboklab(51.08% 0.1812 -0.0713)
OKLCHoklch(51.08% 0.195 338.5)
XYZxyz(21.2586, 11.4048, 25.5028)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7258B #25A741
analogous
#8225A7 #A7258B #A7254A
triadic
#A7258B #8BA725 #258BA7
tetradic
#A7258B #A78225 #25A741 #254AA7
square
#A7258B #A78225 #25A741 #254AA7
split-complementary
#A7258B #4AA725 #25A782
monochromatic
#430F38 #751A61 #A7258B #D337B1 #DE69C4

Accessibility & contrast

On white

6.40
#A7258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A7258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7258B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7258B#FFFFFF#000000##FFFFFF
##A7258B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#B12C56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7258b;
/* rgb */ color: rgb(167, 37, 139);
/* oklch */ color: oklch(51.1% 0.195 338.5);
Tailwind
colors: {
  custom: {
    50: '#c56ead',
    500: '#a7258b',
    950: '#000000',
  },
}
SCSS
$custom: #a7258b;
$custom-light: #c56ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a7258b",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 312.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.1947,
    "h": 338.5
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7258B

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

Preview Lab → · Contrast checker → · Palette generator →

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