#A7258E#A7258E

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

Color values

HEX#A7258E
RGBrgb(167, 37, 142)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.8%, 15%, 34.5%)
CIE-LABlab(40.40, 61.46, -27.90)
CIE-LCHlch(40.40, 67.49, 335.58°)
OKLaboklab(51.23% 0.1815 -0.0759)
OKLCHoklch(51.23% 0.197 337.3)
XYZxyz(21.4808, 11.4937, 26.6731)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7258E #25A73E
analogous
#7F25A7 #A7258E #A7254D
triadic
#A7258E #8EA725 #258EA7
tetradic
#A7258E #A77F25 #25A73E #254DA7
square
#A7258E #A77F25 #25A73E #254DA7
split-complementary
#A7258E #4DA725 #25A77F
monochromatic
#430F39 #751A63 #A7258E #D337B5 #DE69C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7258E#FFFFFF#000000##FFFFFF
##A7258E1.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)
#2A5391
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#B02E58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7258e;
/* rgb */ color: rgb(167, 37, 142);
/* oklch */ color: oklch(51.2% 0.197 337.3);
Tailwind
colors: {
  custom: {
    50: '#c56faf',
    500: '#a7258e',
    950: '#000000',
  },
}
SCSS
$custom: #a7258e;
$custom-light: #c56faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a7258e",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 311.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.19671,
    "h": 337.3
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#A7258E
secondary
#64C476
accent
#E76141
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7258E

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

Preview Lab → · Contrast checker → · Palette generator →

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