#8A255F#8A255F

#8A255F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.2% C 0.148 H 349.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A255F
RGBrgb(138, 37, 95)
HSLhsl(326, 58%, 34%)
HSVhsv(326, 73%, 54%)
CMYKcmyk(0%, 73.2%, 31.2%, 45.9%)
CIE-LABlab(33.04, 47.62, -10.23)
CIE-LCHlch(33.04, 48.71, 347.88°)
OKLaboklab(44.22% 0.1452 -0.0267)
OKLCHoklch(44.22% 0.148 349.6)
XYZxyz(13.2090, 7.5541, 11.5867)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A255F #258A50
analogous
#83258A #8A255F #8A252C
triadic
#8A255F #5F8A25 #255F8A
tetradic
#8A255F #8A8325 #258A50 #252C8A
square
#8A255F #8A8325 #258A50 #252C8A
split-complementary
#8A255F #2C8A25 #258A83
monochromatic
#290B1D #5A183E #8A255F #BA3280 #D2579E

Accessibility & contrast

On white

8.36
#8A255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A255F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A255F#FFFFFF#000000##FFFFFF
##8A255F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#94203E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a255f;
/* rgb */ color: rgb(138, 37, 95);
/* oklch */ color: oklch(44.2% 0.148 349.6);
Tailwind
colors: {
  custom: {
    50: '#b0698c',
    500: '#8a255f',
    950: '#000000',
  },
}
SCSS
$custom: #8a255f;
$custom-light: #b0698c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a255f",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 325.545,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.14768,
    "h": 349.6
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#8A255F
secondary
#54B77E
accent
#E18847
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A255F

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

Preview Lab → · Contrast checker → · Palette generator →

#8A255F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva