#8A334F#8A334F

#8A334F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.121 H 3.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A334F
RGBrgb(138, 51, 79)
HSLhsl(341, 46%, 37%)
HSVhsv(341, 63%, 54%)
CMYKcmyk(0%, 63%, 42.8%, 45.9%)
CIE-LABlab(34.67, 39.70, 2.51)
CIE-LCHlch(34.67, 39.78, 3.62°)
OKLaboklab(45.26% 0.1211 0.007)
OKLCHoklch(45.26% 0.121 3.3)
XYZxyz(13.0772, 8.3369, 8.3161)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A334F #338A6E
analogous
#8A337B #8A334F #8A4333
triadic
#8A334F #4F8A33 #334F8A
tetradic
#8A334F #7B8A33 #338A6E #43338A
square
#8A334F #7B8A33 #338A6E #43338A
split-complementary
#8A334F #338A43 #337B8A
monochromatic
#31121C #5D2235 #8A334F #B74469 #C96E8B

Accessibility & contrast

On white

7.87
#8A334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A334F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A334F#FFFFFF#000000##FFFFFF
##8A334F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#5B584D
Tritanopia (blue-blind)
#95293E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a334f;
/* rgb */ color: rgb(138, 51, 79);
/* oklch */ color: oklch(45.3% 0.121 3.3);
Tailwind
colors: {
  custom: {
    50: '#b06f80',
    500: '#8a334f',
    950: '#000000',
  },
}
SCSS
$custom: #8a334f;
$custom-light: #b06f80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a334f",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 340.69,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.12132,
    "h": 3.3
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#8A334F
secondary
#67B19A
accent
#D6AB52
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A334F

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

Preview Lab → · Contrast checker → · Palette generator →

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