#9F2282#9F2282

#9F2282 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.187 H 339.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F2282
RGBrgb(159, 34, 130)
HSLhsl(314, 65%, 38%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 78.6%, 18.2%, 37.6%)
CIE-LABlab(38.07, 58.77, -24.26)
CIE-LCHlch(38.07, 63.58, 337.57°)
OKLaboklab(49.1% 0.1751 -0.0657)
OKLCHoklch(49.1% 0.187 339.4)
XYZxyz(18.8999, 10.1286, 22.0744)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2282 #229F3F
analogous
#7D229F #9F2282 #9F2243
triadic
#9F2282 #829F22 #22829F
tetradic
#9F2282 #9F7D22 #229F3F #22439F
square
#9F2282 #9F7D22 #229F3F #22439F
split-complementary
#9F2282 #439F22 #229F7D
monochromatic
#3A0C30 #6D1759 #9F2282 #D12DAB #DD5FBF

Accessibility & contrast

On white

6.94
#9F2282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2282
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2282#FFFFFF#000000##FFFFFF
##9F22821.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D85
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#A92750
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2282;
/* rgb */ color: rgb(159, 34, 130);
/* oklch */ color: oklch(49.1% 0.187 339.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ca6',
    500: '#9f2282',
    950: '#000000',
  },
}
SCSS
$custom: #9f2282;
$custom-light: #bf6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2282",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 313.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.491,
    "c": 0.18704,
    "h": 339.4
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#9F2282
secondary
#5BC173
accent
#E86740
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2282

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

Preview Lab → · Contrast checker → · Palette generator →

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