#8F296B#8F296B

#8F296B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.154 H 345.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8F296B
RGBrgb(143, 41, 107)
HSLhsl(321, 55%, 36%)
HSVhsv(321, 71%, 56%)
CMYKcmyk(0%, 71.3%, 25.2%, 43.9%)
CIE-LABlab(34.98, 49.10, -14.86)
CIE-LCHlch(34.98, 51.30, 343.16°)
OKLaboklab(45.98% 0.1484 -0.0395)
OKLCHoklch(45.98% 0.154 345.1)
XYZxyz(14.7750, 8.4886, 14.7674)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F296B #298F4D
analogous
#80298F #8F296B #8F2938
triadic
#8F296B #6B8F29 #296B8F
tetradic
#8F296B #8F8029 #298F4D #29388F
square
#8F296B #8F8029 #298F4D #29388F
split-complementary
#8F296B #388F29 #298F80
monochromatic
#300E24 #5F1B47 #8F296B #BF378F #D261AA

Accessibility & contrast

On white

7.79
#8F296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F296B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F296B#FFFFFF#000000##FFFFFF
##8F296B1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476D
Deuteranopia (green-blind)
#535969
Tritanopia (blue-blind)
#992846
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f296b;
/* rgb */ color: rgb(143, 41, 107);
/* oklch */ color: oklch(46.0% 0.154 345.1);
Tailwind
colors: {
  custom: {
    50: '#b36c95',
    500: '#8f296b',
    950: '#000000',
  },
}
SCSS
$custom: #8f296b;
$custom-light: #b36c95;
$custom-dark: #000000;
JSON
{
  "hex": "#8f296b",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 321.176,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.15353,
    "h": 345.1
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#8F296B
secondary
#5CB77D
accent
#DF7E49
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F296B

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

Preview Lab → · Contrast checker → · Palette generator →

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