#8A2F6B#8A2F6B

#8A2F6B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.141 H 343.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A2F6B
RGBrgb(138, 47, 107)
HSLhsl(320, 49%, 36%)
HSVhsv(320, 66%, 54%)
CMYKcmyk(0%, 65.9%, 22.5%, 45.9%)
CIE-LABlab(35.00, 45.18, -14.90)
CIE-LCHlch(35.00, 47.57, 341.74°)
OKLaboklab(45.82% 0.1356 -0.0397)
OKLCHoklch(45.82% 0.141 343.7)
XYZxyz(14.1520, 8.4992, 14.8023)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F6B #2F8A4E
analogous
#7C2F8A #8A2F6B #8A2F3E
triadic
#8A2F6B #6B8A2F #2F6B8A
tetradic
#8A2F6B #8A7C2F #2F8A4E #2F3E8A
square
#8A2F6B #8A7C2F #2F8A4E #2F3E8A
split-complementary
#8A2F6B #3E8A2F #2F8A7C
monochromatic
#2F1024 #5C1F48 #8A2F6B #B83F8E #CC68AA

Accessibility & contrast

On white

7.78
#8A2F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F6B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F6B#FFFFFF#000000##FFFFFF
##8A2F6B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#932F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2f6b;
/* rgb */ color: rgb(138, 47, 107);
/* oklch */ color: oklch(45.8% 0.141 343.7);
Tailwind
colors: {
  custom: {
    50: '#af6e95',
    500: '#8a2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f6b;
$custom-light: #af6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f6b",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 320.44,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.1413,
    "h": 343.7
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#8A2F6B
secondary
#62B37E
accent
#D97E4F
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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