#8F235E#8F235E

#8F235E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.154 H 351.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8F235E
RGBrgb(143, 35, 94)
HSLhsl(327, 61%, 35%)
HSVhsv(327, 76%, 56%)
CMYKcmyk(0%, 75.5%, 34.3%, 43.9%)
CIE-LABlab(33.67, 49.64, -8.54)
CIE-LCHlch(33.67, 50.37, 350.24°)
OKLaboklab(44.85% 0.152 -0.0221)
OKLCHoklch(44.85% 0.154 351.7)
XYZxyz(13.9499, 7.8515, 11.3684)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F235E #238F54
analogous
#8A238F #8F235E #8F2328
triadic
#8F235E #5E8F23 #235E8F
tetradic
#8F235E #8F8A23 #238F54 #23288F
square
#8F235E #8F8A23 #238F54 #23288F
split-complementary
#8F235E #288F23 #238F8A
monochromatic
#2D0B1D #5E173E #8F235E #C02F7E #D6579C

Accessibility & contrast

On white

8.17
#8F235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F235E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F235E#FFFFFF#000000##FFFFFF
##8F235E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f235e;
/* rgb */ color: rgb(143, 35, 94);
/* oklch */ color: oklch(44.8% 0.154 351.7);
Tailwind
colors: {
  custom: {
    50: '#b4698b',
    500: '#8f235e',
    950: '#000000',
  },
}
SCSS
$custom: #8f235e;
$custom-light: #b4698b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f235e",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 327.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.15357,
    "h": 351.7
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#8F235E
secondary
#54BA82
accent
#E48D44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F235E

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

Preview Lab → · Contrast checker → · Palette generator →

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