#A7258F#A7258F

#A7258F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.3% C 0.197 H 336.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A7258F
RGBrgb(167, 37, 143)
HSLhsl(311, 64%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 77.8%, 14.4%, 34.5%)
CIE-LABlab(40.45, 61.60, -28.43)
CIE-LCHlch(40.45, 67.85, 335.22°)
OKLaboklab(51.29% 0.1816 -0.0774)
OKLCHoklch(51.29% 0.197 336.9)
XYZxyz(21.5563, 11.5238, 27.0703)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7258F #25A73D
analogous
#7E25A7 #A7258F #A7254E
triadic
#A7258F #8FA725 #258FA7
tetradic
#A7258F #A77E25 #25A73D #254EA7
square
#A7258F #A77E25 #25A73D #254EA7
split-complementary
#A7258F #4EA725 #25A77E
monochromatic
#430F39 #751A64 #A7258F #D337B6 #DE69C8

Accessibility & contrast

On white

6.36
#A7258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7258F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7258F#FFFFFF#000000##FFFFFF
##A7258F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#B02E58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7258f;
/* rgb */ color: rgb(167, 37, 143);
/* oklch */ color: oklch(51.3% 0.197 336.9);
Tailwind
colors: {
  custom: {
    50: '#c56fb0',
    500: '#a7258f',
    950: '#000000',
  },
}
SCSS
$custom: #a7258f;
$custom-light: #c56fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7258f",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 311.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.19739,
    "h": 336.9
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#A7258F
secondary
#64C476
accent
#E76041
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7258F

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

Preview Lab → · Contrast checker → · Palette generator →

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