#A7257A#A7257A

#A7257A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.184 H 345.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A7257A
RGBrgb(167, 37, 122)
HSLhsl(321, 64%, 40%)
HSVhsv(321, 78%, 65%)
CMYKcmyk(0%, 77.8%, 26.9%, 34.5%)
CIE-LABlab(39.49, 58.77, -16.99)
CIE-LCHlch(39.49, 61.18, 343.88°)
OKLaboklab(50.28% 0.1785 -0.0451)
OKLCHoklch(50.28% 0.184 345.8)
XYZxyz(20.1117, 10.9460, 19.4622)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7257A #25A752
analogous
#9325A7 #A7257A #A72539
triadic
#A7257A #7AA725 #257AA7
tetradic
#A7257A #A79325 #25A752 #2539A7
square
#A7257A #A79325 #25A752 #2539A7
split-complementary
#A7257A #39A725 #25A793
monochromatic
#430F31 #751A55 #A7257A #D3379D #DE69B5

Accessibility & contrast

On white

6.59
#A7257A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A7257A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7257A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7257A#FFFFFF#000000##FFFFFF
##A7257A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#B3224D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7257a;
/* rgb */ color: rgb(167, 37, 122);
/* oklch */ color: oklch(50.3% 0.184 345.8);
Tailwind
colors: {
  custom: {
    50: '#c56ea0',
    500: '#a7257a',
    950: '#000000',
  },
}
SCSS
$custom: #a7257a;
$custom-light: #c56ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7257a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 320.769,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.18413,
    "h": 345.8
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#A7257A
secondary
#64C485
accent
#E77A41
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A7257A

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

Preview Lab → · Contrast checker → · Palette generator →

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