#8F245F#8F245F

#8F245F is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.153 H 351.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8F245F
RGBrgb(143, 36, 95)
HSLhsl(327, 60%, 35%)
HSVhsv(327, 75%, 56%)
CMYKcmyk(0%, 74.8%, 33.6%, 43.9%)
CIE-LABlab(33.84, 49.41, -8.93)
CIE-LCHlch(33.84, 50.21, 349.75°)
OKLaboklab(44.98% 0.1512 -0.0231)
OKLCHoklch(44.98% 0.153 351.3)
XYZxyz(14.0249, 7.9292, 11.6162)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F245F #248F54
analogous
#8A248F #8F245F #8F2429
triadic
#8F245F #5F8F24 #245F8F
tetradic
#8F245F #8F8A24 #248F54 #24298F
square
#8F245F #8F8A24 #248F54 #24298F
split-complementary
#8F245F #298F24 #248F8A
monochromatic
#2D0B1E #5E183F #8F245F #C0307F #D5589D

Accessibility & contrast

On white

8.12
#8F245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F245F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F245F#FFFFFF#000000##FFFFFF
##8F245F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#55575D
Tritanopia (blue-blind)
#9A1C3E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f245f;
/* rgb */ color: rgb(143, 36, 95);
/* oklch */ color: oklch(45.0% 0.153 351.3);
Tailwind
colors: {
  custom: {
    50: '#b4698c',
    500: '#8f245f',
    950: '#000000',
  },
}
SCSS
$custom: #8f245f;
$custom-light: #b4698c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f245f",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 326.916,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.15291,
    "h": 351.3
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#8F245F
secondary
#55B982
accent
#E38C45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F245F

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

Preview Lab → · Contrast checker → · Palette generator →

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