#9F2883#9F2883

#9F2883 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.181 H 339.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F2883
RGBrgb(159, 40, 131)
HSLhsl(314, 60%, 39%)
HSVhsv(314, 75%, 62%)
CMYKcmyk(0%, 74.8%, 17.6%, 37.6%)
CIE-LABlab(38.78, 57.04, -23.79)
CIE-LCHlch(38.78, 61.80, 337.36°)
OKLaboklab(49.62% 0.1696 -0.0644)
OKLCHoklch(49.62% 0.181 339.2)
XYZxyz(19.1541, 10.5291, 22.4919)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2883 #289F44
analogous
#80289F #9F2883 #9F2848
triadic
#9F2883 #839F28 #28839F
tetradic
#9F2883 #9F8028 #289F44 #28489F
square
#9F2883 #9F8028 #289F44 #28489F
split-complementary
#9F2883 #489F28 #289F80
monochromatic
#3D0F32 #6E1C5B #9F2883 #CD37AA #D968BF

Accessibility & contrast

On white

6.76
#9F2883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2883
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2883#FFFFFF#000000##FFFFFF
##9F28831.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F85
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#A82D52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2883;
/* rgb */ color: rgb(159, 40, 131);
/* oklch */ color: oklch(49.6% 0.181 339.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ea7',
    500: '#9f2883',
    950: '#000000',
  },
}
SCSS
$custom: #9f2883;
$custom-light: #bf6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2883",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 314.118,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.18139,
    "h": 339.2
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9F2883
secondary
#64BF79
accent
#E36A45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2883

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

Preview Lab → · Contrast checker → · Palette generator →

#9F2883 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva