#9F2183#9F2183

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

Color values

HEX#9F2183
RGBrgb(159, 33, 131)
HSLhsl(313, 66%, 38%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 79.2%, 17.6%, 37.6%)
CIE-LABlab(38.02, 59.20, -24.96)
CIE-LCHlch(38.02, 64.25, 337.13°)
OKLaboklab(49.08% 0.1761 -0.0677)
OKLCHoklch(49.08% 0.189 339)
XYZxyz(18.9392, 10.0992, 22.4202)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2183 #219F3D
analogous
#7C219F #9F2183 #9F2144
triadic
#9F2183 #839F21 #21839F
tetradic
#9F2183 #9F7C21 #219F3D #21449F
square
#9F2183 #9F7C21 #219F3D #21449F
split-complementary
#9F2183 #449F21 #219F7C
monochromatic
#3A0C2F #6C1659 #9F2183 #D22CAD #DD5DC1

Accessibility & contrast

On white

6.96
#9F2183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F2183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2183
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2183#FFFFFF#000000##FFFFFF
##9F21831.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D86
Deuteranopia (green-blind)
#546080
Tritanopia (blue-blind)
#A82750
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2183;
/* rgb */ color: rgb(159, 33, 131);
/* oklch */ color: oklch(49.1% 0.189 339.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ba7',
    500: '#9f2183',
    950: '#000000',
  },
}
SCSS
$custom: #9f2183;
$custom-light: #bf6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2183",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 313.333,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.18867,
    "h": 339
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#9F2183
secondary
#5AC271
accent
#E9653F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2183

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

Preview Lab → · Contrast checker → · Palette generator →

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