#8A245F#8A245F

#8A245F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.149 H 349.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8A245F
RGBrgb(138, 36, 95)
HSLhsl(325, 59%, 34%)
HSVhsv(325, 74%, 54%)
CMYKcmyk(0%, 73.9%, 31.2%, 45.9%)
CIE-LABlab(32.90, 48.00, -10.43)
CIE-LCHlch(32.90, 49.12, 347.74°)
OKLaboklab(44.13% 0.1464 -0.0273)
OKLCHoklch(44.13% 0.149 349.4)
XYZxyz(13.1783, 7.4927, 11.5765)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A245F #248A4F
analogous
#82248A #8A245F #8A242C
triadic
#8A245F #5F8A24 #245F8A
tetradic
#8A245F #8A8224 #248A4F #242C8A
square
#8A245F #8A8224 #248A4F #242C8A
split-complementary
#8A245F #2C8A24 #248A82
monochromatic
#290B1C #59173E #8A245F #BB3180 #D3569E

Accessibility & contrast

On white

8.41
#8A245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A245F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A245F#FFFFFF#000000##FFFFFF
##8A245F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#941F3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a245f;
/* rgb */ color: rgb(138, 36, 95);
/* oklch */ color: oklch(44.1% 0.149 349.4);
Tailwind
colors: {
  custom: {
    50: '#b0688c',
    500: '#8a245f',
    950: '#000000',
  },
}
SCSS
$custom: #8a245f;
$custom-light: #b0688c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a245f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 325.294,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.14893,
    "h": 349.4
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#8A245F
secondary
#53B77D
accent
#E28846
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A245F

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

Preview Lab → · Contrast checker → · Palette generator →

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