#8F254E#8F254E

#8F254E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.145 H 1.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8F254E
RGBrgb(143, 37, 78)
HSLhsl(337, 59%, 35%)
HSVhsv(337, 74%, 56%)
CMYKcmyk(0%, 74.1%, 45.5%, 43.9%)
CIE-LABlab(33.38, 47.16, 1.40)
CIE-LCHlch(33.38, 47.18, 1.70°)
OKLaboklab(44.46% 0.1445 0.0042)
OKLCHoklch(44.46% 0.145 1.6)
XYZxyz(13.3654, 7.7146, 7.9915)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F254E #258F66
analogous
#8F2583 #8F254E #8F3125
triadic
#8F254E #4E8F25 #254E8F
tetradic
#8F254E #838F25 #258F66 #31258F
square
#8F254E #838F25 #258F66 #31258F
split-complementary
#8F254E #258F31 #25838F
monochromatic
#2E0C19 #5E1833 #8F254E #C03269 #D45A89

Accessibility & contrast

On white

8.26
#8F254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F254E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F254E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F254E#FFFFFF#000000##FFFFFF
##8F254E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#59564C
Tritanopia (blue-blind)
#9B1436
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f254e;
/* rgb */ color: rgb(143, 37, 78);
/* oklch */ color: oklch(44.5% 0.145 1.6);
Tailwind
colors: {
  custom: {
    50: '#b5697f',
    500: '#8f254e',
    950: '#000000',
  },
}
SCSS
$custom: #8f254e;
$custom-light: #b5697f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f254e",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 336.792,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.14458,
    "h": 1.6
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#8F254E
secondary
#57B993
accent
#E2A646
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F254E

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

Preview Lab → · Contrast checker → · Palette generator →

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