#8F1245#8F1245

#8F1245 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.160 H 3.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8F1245
RGBrgb(143, 18, 69)
HSLhsl(336, 78%, 32%)
HSVhsv(336, 87%, 56%)
CMYKcmyk(0%, 87.4%, 51.7%, 43.9%)
CIE-LABlab(31.12, 51.96, 4.06)
CIE-LCHlch(31.12, 52.12, 4.47°)
OKLaboklab(42.71% 0.1594 0.0108)
OKLCHoklch(42.71% 0.16 3.9)
XYZxyz(12.6193, 6.7037, 6.2585)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1245 #128F5C
analogous
#8F1284 #8F1245 #8F1E12
triadic
#8F1245 #458F12 #12458F
tetradic
#8F1245 #848F12 #128F5C #1E128F
square
#8F1245 #848F12 #128F5C #1E128F
split-complementary
#8F1245 #128F1E #12848F
monochromatic
#220411 #590B2B #8F1245 #C5195F #E6367E

Accessibility & contrast

On white

8.97
#8F1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8F1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1245
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1245#FFFFFF#000000##FFFFFF
##8F12451.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#9C002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1245;
/* rgb */ color: rgb(143, 18, 69);
/* oklch */ color: oklch(42.7% 0.160 3.9);
Tailwind
colors: {
  custom: {
    50: '#b66278',
    500: '#8f1245',
    950: '#000000',
  },
}
SCSS
$custom: #8f1245;
$custom-light: #b66278;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1245",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 335.52,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.15973,
    "h": 3.9
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#8F1245
secondary
#3AC38B
accent
#F4A634
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1245

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

Preview Lab → · Contrast checker → · Palette generator →

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