#A4257E#A4257E

#A4257E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.185 H 343.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A4257E
RGBrgb(164, 37, 126)
HSLhsl(318, 63%, 39%)
HSVhsv(318, 77%, 64%)
CMYKcmyk(0%, 77.4%, 23.2%, 35.7%)
CIE-LABlab(39.11, 58.54, -20.10)
CIE-LCHlch(39.11, 61.90, 341.05°)
OKLaboklab(49.96% 0.1765 -0.0538)
OKLCHoklch(49.96% 0.185 343)
XYZxyz(19.7381, 10.7241, 20.7651)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4257E #25A44B
analogous
#8B25A4 #A4257E #A4253E
triadic
#A4257E #7EA425 #257EA4
tetradic
#A4257E #A48B25 #25A44B #253EA4
square
#A4257E #A48B25 #25A44B #253EA4
split-complementary
#A4257E #3EA425 #25A48B
monochromatic
#400E31 #721A58 #A4257E #D135A3 #DD67B9

Accessibility & contrast

On white

6.68
#A4257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A4257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4257E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4257E#FFFFFF#000000##FFFFFF
##A4257E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#AF254F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a4257e;
/* rgb */ color: rgb(164, 37, 126);
/* oklch */ color: oklch(50.0% 0.185 343.0);
Tailwind
colors: {
  custom: {
    50: '#c36ea3',
    500: '#a4257e',
    950: '#000000',
  },
}
SCSS
$custom: #a4257e;
$custom-light: #c36ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4257e",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 317.953,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.18455,
    "h": 343
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#A4257E
secondary
#62C27F
accent
#E67342
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4257E

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

Preview Lab → · Contrast checker → · Palette generator →

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