#A6257F#A6257F

#A6257F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.186 H 343.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A6257F
RGBrgb(166, 37, 127)
HSLhsl(318, 64%, 40%)
HSVhsv(318, 78%, 65%)
CMYKcmyk(0%, 77.7%, 23.5%, 34.9%)
CIE-LABlab(39.52, 59.16, -20.06)
CIE-LCHlch(39.52, 62.47, 341.27°)
OKLaboklab(50.34% 0.1785 -0.0537)
OKLCHoklch(50.34% 0.186 343.3)
XYZxyz(20.2190, 10.9646, 21.1261)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6257F #25A64C
analogous
#8D25A6 #A6257F #A6253E
triadic
#A6257F #7FA625 #257FA6
tetradic
#A6257F #A68D25 #25A64C #253EA6
square
#A6257F #A68D25 #25A64C #253EA6
split-complementary
#A6257F #3EA625 #25A68D
monochromatic
#420F32 #741A59 #A6257F #D236A3 #DD68BA

Accessibility & contrast

On white

6.58
#A6257F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6257F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6257F#FFFFFF#000000##FFFFFF
##A6257F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#B1254F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6257f;
/* rgb */ color: rgb(166, 37, 127);
/* oklch */ color: oklch(50.3% 0.186 343.3);
Tailwind
colors: {
  custom: {
    50: '#c56ea4',
    500: '#a6257f',
    950: '#000000',
  },
}
SCSS
$custom: #a6257f;
$custom-light: #c56ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6257f",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 318.14,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.18644,
    "h": 343.3
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#A6257F
secondary
#64C380
accent
#E77341
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6257F

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

Preview Lab → · Contrast checker → · Palette generator →

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