#8A3058#8A3058

#8A3058 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.129 H 356.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3058
RGBrgb(138, 48, 88)
HSLhsl(333, 48%, 36%)
HSVhsv(333, 65%, 54%)
CMYKcmyk(0%, 65.2%, 36.2%, 45.9%)
CIE-LABlab(34.44, 42.16, -3.62)
CIE-LCHlch(34.44, 42.31, 355.10°)
OKLaboklab(45.18% 0.1288 -0.009)
OKLCHoklch(45.18% 0.129 356)
XYZxyz(13.3004, 8.2232, 10.1174)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3058 #308A62
analogous
#8A3085 #8A3058 #8A3530
triadic
#8A3058 #588A30 #30588A
tetradic
#8A3058 #858A30 #308A62 #35308A
square
#8A3058 #858A30 #308A62 #35308A
split-complementary
#8A3058 #308A35 #30858A
monochromatic
#2F101E #5D203B #8A3058 #B74075 #CB6995

Accessibility & contrast

On white

7.94
#8A3058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A3058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3058
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3058#FFFFFF#000000##FFFFFF
##8A30581.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#585756
Tritanopia (blue-blind)
#952940
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3058;
/* rgb */ color: rgb(138, 48, 88);
/* oklch */ color: oklch(45.2% 0.129 356.0);
Tailwind
colors: {
  custom: {
    50: '#b06e87',
    500: '#8a3058',
    950: '#000000',
  },
}
SCSS
$custom: #8a3058;
$custom-light: #b06e87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3058",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 333.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.12906,
    "h": 356
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#8A3058
secondary
#64B28F
accent
#D89B50
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A3058

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

Preview Lab → · Contrast checker → · Palette generator →

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