#A5255E#A5255E

#A5255E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.169 H 358.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A5255E
RGBrgb(165, 37, 94)
HSLhsl(333, 63%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 77.6%, 43%, 35.3%)
CIE-LABlab(38.08, 55.09, -1.53)
CIE-LCHlch(38.08, 55.11, 358.41°)
OKLaboklab(48.84% 0.1693 -0.0033)
OKLCHoklch(48.84% 0.169 358.9)
XYZxyz(18.2004, 10.1330, 11.5850)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5255E #25A56C
analogous
#A5259E #A5255E #A52C25
triadic
#A5255E #5EA525 #255EA5
tetradic
#A5255E #9EA525 #25A56C #2C25A5
square
#A5255E #9EA525 #25A56C #2C25A5
split-complementary
#A5255E #25A52C #259EA5
monochromatic
#410F25 #731A42 #A5255E #D2357B #DD679C

Accessibility & contrast

On white

6.94
#A5255E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A5255E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5255E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5255E#FFFFFF#000000##FFFFFF
##A5255E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#B30E3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5255e;
/* rgb */ color: rgb(165, 37, 94);
/* oklch */ color: oklch(48.8% 0.169 358.9);
Tailwind
colors: {
  custom: {
    50: '#c56d8b',
    500: '#a5255e',
    950: '#000000',
  },
}
SCSS
$custom: #a5255e;
$custom-light: #c56d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5255e",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 333.281,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.16932,
    "h": 358.9
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#A5255E
secondary
#63C398
accent
#E69D41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A5255E

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

Preview Lab → · Contrast checker → · Palette generator →

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