#A7258C#A7258C

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

Color values

HEX#A7258C
RGBrgb(167, 37, 140)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.8%, 16.2%, 34.5%)
CIE-LABlab(40.30, 61.17, -26.83)
CIE-LCHlch(40.30, 66.80, 336.32°)
OKLaboklab(51.13% 0.1813 -0.0729)
OKLCHoklch(51.13% 0.195 338.1)
XYZxyz(21.3320, 11.4341, 25.8894)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7258C #25A740
analogous
#8125A7 #A7258C #A7254B
triadic
#A7258C #8CA725 #258CA7
tetradic
#A7258C #A78125 #25A740 #254BA7
square
#A7258C #A78125 #25A740 #254BA7
split-complementary
#A7258C #4BA725 #25A781
monochromatic
#430F38 #751A62 #A7258C #D337B2 #DE69C5

Accessibility & contrast

On white

6.39
#A7258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7258C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7258C#FFFFFF#000000##FFFFFF
##A7258C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#B02C57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7258c;
/* rgb */ color: rgb(167, 37, 140);
/* oklch */ color: oklch(51.1% 0.195 338.1);
Tailwind
colors: {
  custom: {
    50: '#c56eae',
    500: '#a7258c',
    950: '#000000',
  },
}
SCSS
$custom: #a7258c;
$custom-light: #c56eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7258c",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 312.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.19536,
    "h": 338.1
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#A7258C
secondary
#64C478
accent
#E76341
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7258C

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

Preview Lab → · Contrast checker → · Palette generator →

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