#8F237D#8F237D

#8F237D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.173 H 335.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8F237D
RGBrgb(143, 35, 125)
HSLhsl(310, 61%, 35%)
HSVhsv(310, 76%, 56%)
CMYKcmyk(0%, 75.5%, 12.6%, 43.9%)
CIE-LABlab(35.05, 53.89, -26.09)
CIE-LCHlch(35.05, 59.87, 334.17°)
OKLaboklab(46.3% 0.1578 -0.0712)
OKLCHoklch(46.3% 0.173 335.7)
XYZxyz(15.6306, 8.5238, 20.2201)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F237D #238F35
analogous
#6B238F #8F237D #8F2347
triadic
#8F237D #7D8F23 #237D8F
tetradic
#8F237D #8F6B23 #238F35 #23478F
square
#8F237D #8F6B23 #238F35 #23478F
split-complementary
#8F237D #478F23 #238F6B
monochromatic
#2D0B27 #5E1752 #8F237D #C02FA8 #D657C1

Accessibility & contrast

On white

7.77
#8F237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F237D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F237D#FFFFFF#000000##FFFFFF
##8F237D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#962B4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f237d;
/* rgb */ color: rgb(143, 35, 125);
/* oklch */ color: oklch(46.3% 0.173 335.7);
Tailwind
colors: {
  custom: {
    50: '#b36aa3',
    500: '#8f237d',
    950: '#000000',
  },
}
SCSS
$custom: #8f237d;
$custom-light: #b36aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f237d",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 310,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.17311,
    "h": 335.7
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#8F237D
secondary
#54BA65
accent
#E45F44
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F237D

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

Preview Lab → · Contrast checker → · Palette generator →

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