#8F245E#8F245E

#8F245E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.152 H 351.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8F245E
RGBrgb(143, 36, 94)
HSLhsl(327, 60%, 35%)
HSVhsv(327, 75%, 56%)
CMYKcmyk(0%, 74.8%, 34.3%, 43.9%)
CIE-LABlab(33.80, 49.29, -8.35)
CIE-LCHlch(33.80, 49.99, 350.39°)
OKLaboklab(44.94% 0.1509 -0.0216)
OKLCHoklch(44.94% 0.152 351.9)
XYZxyz(13.9798, 7.9112, 11.3783)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F245E #248F55
analogous
#8B248F #8F245E #8F2428
triadic
#8F245E #5E8F24 #245E8F
tetradic
#8F245E #8F8B24 #248F55 #24288F
square
#8F245E #8F8B24 #248F55 #24288F
split-complementary
#8F245E #288F24 #248F8B
monochromatic
#2D0B1E #5E183E #8F245E #C0307E #D5589C

Accessibility & contrast

On white

8.13
#8F245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F245E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F245E#FFFFFF#000000##FFFFFF
##8F245E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#55565C
Tritanopia (blue-blind)
#9A1C3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f245e;
/* rgb */ color: rgb(143, 36, 94);
/* oklch */ color: oklch(44.9% 0.152 351.9);
Tailwind
colors: {
  custom: {
    50: '#b4698b',
    500: '#8f245e',
    950: '#000000',
  },
}
SCSS
$custom: #8f245e;
$custom-light: #b4698b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f245e",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 327.477,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.1524,
    "h": 351.9
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#8F245E
secondary
#55B983
accent
#E38D45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F245E

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

Preview Lab → · Contrast checker → · Palette generator →

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