#8F245A#8F245A

#8F245A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.150 H 354.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8F245A
RGBrgb(143, 36, 90)
HSLhsl(330, 60%, 35%)
HSVhsv(330, 75%, 56%)
CMYKcmyk(0%, 74.8%, 37.1%, 43.9%)
CIE-LABlab(33.65, 48.82, -5.99)
CIE-LCHlch(33.65, 49.18, 353.01°)
OKLaboklab(44.79% 0.1497 -0.0152)
OKLCHoklch(44.79% 0.15 354.2)
XYZxyz(13.8049, 7.8412, 10.4574)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F245A #248F59
analogous
#8F248F #8F245A #8F2424
triadic
#8F245A #5A8F24 #245A8F
tetradic
#8F245A #8F8F24 #248F59 #24248F
square
#8F245A #8F8F24 #248F59 #24248F
split-complementary
#8F245A #248F24 #248F8F
monochromatic
#2D0B1C #5E183B #8F245A #C03079 #D55897

Accessibility & contrast

On white

8.18
#8F245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F245A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F245A#FFFFFF#000000##FFFFFF
##8F245A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435B
Deuteranopia (green-blind)
#565658
Tritanopia (blue-blind)
#9A193C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f245a;
/* rgb */ color: rgb(143, 36, 90);
/* oklch */ color: oklch(44.8% 0.150 354.2);
Tailwind
colors: {
  custom: {
    50: '#b46988',
    500: '#8f245a',
    950: '#000000',
  },
}
SCSS
$custom: #8f245a;
$custom-light: #b46988;
$custom-dark: #000000;
JSON
{
  "hex": "#8f245a",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 329.72,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.15047,
    "h": 354.2
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#8F245A
secondary
#55B987
accent
#E39345
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F245A

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

Preview Lab → · Contrast checker → · Palette generator →

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