#8F256E#8F256E

#8F256E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.160 H 343.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8F256E
RGBrgb(143, 37, 110)
HSLhsl(319, 59%, 35%)
HSVhsv(319, 74%, 56%)
CMYKcmyk(0%, 74.1%, 23.1%, 43.9%)
CIE-LABlab(34.58, 51.00, -17.38)
CIE-LCHlch(34.58, 53.88, 341.19°)
OKLaboklab(45.73% 0.1536 -0.0465)
OKLCHoklch(45.73% 0.16 343.2)
XYZxyz(14.8043, 8.2901, 15.5693)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F256E #258F46
analogous
#7B258F #8F256E #8F2539
triadic
#8F256E #6E8F25 #256E8F
tetradic
#8F256E #8F7B25 #258F46 #25398F
square
#8F256E #8F7B25 #258F46 #25398F
split-complementary
#8F256E #398F25 #258F7B
monochromatic
#2E0C23 #5E1849 #8F256E #C03293 #D45AAE

Accessibility & contrast

On white

7.90
#8F256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F256E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F256E#FFFFFF#000000##FFFFFF
##8F256E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304670
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#982546
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f256e;
/* rgb */ color: rgb(143, 37, 110);
/* oklch */ color: oklch(45.7% 0.160 343.2);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8f256e',
    950: '#000000',
  },
}
SCSS
$custom: #8f256e;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f256e",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 318.679,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.16044,
    "h": 343.2
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#8F256E
secondary
#57B975
accent
#E27646
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F256E

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

Preview Lab → · Contrast checker → · Palette generator →

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