#A7258D#A7258D

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

Color values

HEX#A7258D
RGBrgb(167, 37, 141)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.8%, 15.6%, 34.5%)
CIE-LABlab(40.35, 61.32, -27.37)
CIE-LCHlch(40.35, 67.15, 335.95°)
OKLaboklab(51.18% 0.1814 -0.0744)
OKLCHoklch(51.18% 0.196 337.7)
XYZxyz(21.4061, 11.4638, 26.2795)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7258D #25A73F
analogous
#8025A7 #A7258D #A7254C
triadic
#A7258D #8DA725 #258DA7
tetradic
#A7258D #A78025 #25A73F #254CA7
square
#A7258D #A78025 #25A73F #254CA7
split-complementary
#A7258D #4CA725 #25A780
monochromatic
#430F38 #751A63 #A7258D #D337B3 #DE69C6

Accessibility & contrast

On white

6.38
#A7258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A7258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7258D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7258D#FFFFFF#000000##FFFFFF
##A7258D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5290
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#B02D57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7258d;
/* rgb */ color: rgb(167, 37, 141);
/* oklch */ color: oklch(51.2% 0.196 337.7);
Tailwind
colors: {
  custom: {
    50: '#c56fae',
    500: '#a7258d',
    950: '#000000',
  },
}
SCSS
$custom: #a7258d;
$custom-light: #c56fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7258d",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 312,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.19603,
    "h": 337.7
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#A7258D
secondary
#64C477
accent
#E76241
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7258D

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

Preview Lab → · Contrast checker → · Palette generator →

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