#9F2283#9F2283

#9F2283 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.188 H 339.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2283
RGBrgb(159, 34, 131)
HSLhsl(313, 65%, 38%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 78.6%, 17.6%, 37.6%)
CIE-LABlab(38.12, 58.91, -24.81)
CIE-LCHlch(38.12, 63.92, 337.16°)
OKLaboklab(49.15% 0.1753 -0.0672)
OKLCHoklch(49.15% 0.188 339)
XYZxyz(18.9673, 10.1556, 22.4296)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2283 #229F3E
analogous
#7C229F #9F2283 #9F2244
triadic
#9F2283 #839F22 #22839F
tetradic
#9F2283 #9F7C22 #229F3E #22449F
square
#9F2283 #9F7C22 #229F3E #22449F
split-complementary
#9F2283 #449F22 #229F7C
monochromatic
#3A0C30 #6D1759 #9F2283 #D12DAD #DD5FC0

Accessibility & contrast

On white

6.93
#9F2283 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2283
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2283#FFFFFF#000000##FFFFFF
##9F22831.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D86
Deuteranopia (green-blind)
#546180
Tritanopia (blue-blind)
#A82851
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2283;
/* rgb */ color: rgb(159, 34, 131);
/* oklch */ color: oklch(49.1% 0.188 339.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ca7',
    500: '#9f2283',
    950: '#000000',
  },
}
SCSS
$custom: #9f2283;
$custom-light: #bf6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2283",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 313.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.1877,
    "h": 339
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9F2283
secondary
#5BC172
accent
#E86640
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2283

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

Preview Lab → · Contrast checker → · Palette generator →

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