#8F2E52#8F2E52

#8F2E52 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.135 H 1.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8F2E52
RGBrgb(143, 46, 82)
HSLhsl(338, 51%, 37%)
HSVhsv(338, 68%, 56%)
CMYKcmyk(0%, 67.8%, 42.7%, 43.9%)
CIE-LABlab(34.81, 43.96, 0.89)
CIE-LCHlch(34.81, 43.97, 1.16°)
OKLaboklab(45.55% 0.1345 0.0028)
OKLCHoklch(45.55% 0.135 1.2)
XYZxyz(13.8286, 8.4045, 8.8750)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E52 #2E8F6B
analogous
#8F2E83 #8F2E52 #8F3B2E
triadic
#8F2E52 #528F2E #2E528F
tetradic
#8F2E52 #838F2E #2E8F6B #3B2E8F
square
#8F2E52 #838F2E #2E8F6B #3B2E8F
split-complementary
#8F2E52 #2E8F3B #2E838F
monochromatic
#32101D #611F37 #8F2E52 #BD3D6D #CF698F

Accessibility & contrast

On white

7.83
#8F2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E52
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E52#FFFFFF#000000##FFFFFF
##8F2E521.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#5B5950
Tritanopia (blue-blind)
#9B223C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2e52;
/* rgb */ color: rgb(143, 46, 82);
/* oklch */ color: oklch(45.6% 0.135 1.2);
Tailwind
colors: {
  custom: {
    50: '#b46d82',
    500: '#8f2e52',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e52;
$custom-light: #b46d82;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e52",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 337.732,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45554,
    "c": 0.1345,
    "h": 1.2
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#8F2E52
secondary
#63B697
accent
#DBA64D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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