#9F2163#9F2163

#9F2163 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.171 H 354.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F2163
RGBrgb(159, 33, 99)
HSLhsl(329, 66%, 38%)
HSVhsv(329, 79%, 62%)
CMYKcmyk(0%, 79.2%, 37.7%, 37.6%)
CIE-LABlab(36.67, 55.21, -6.93)
CIE-LCHlch(36.67, 55.64, 352.85°)
OKLaboklab(47.66% 0.1697 -0.0176)
OKLCHoklch(47.66% 0.171 354.1)
XYZxyz(17.0952, 9.3616, 12.7087)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2163 #219F5D
analogous
#9C219F #9F2163 #9F2124
triadic
#9F2163 #639F21 #21639F
tetradic
#9F2163 #9F9C21 #219F5D #21249F
square
#9F2163 #9F9C21 #219F5D #21249F
split-complementary
#9F2163 #249F21 #219F9C
monochromatic
#3A0C24 #6C1643 #9F2163 #D22C83 #DD5DA0

Accessibility & contrast

On white

7.31
#9F2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F2163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2163
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2163#FFFFFF#000000##FFFFFF
##9F21631.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4865
Deuteranopia (green-blind)
#5E5F60
Tritanopia (blue-blind)
#AC103F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2163;
/* rgb */ color: rgb(159, 33, 99);
/* oklch */ color: oklch(47.7% 0.171 354.1);
Tailwind
colors: {
  custom: {
    50: '#c06a8f',
    500: '#9f2163',
    950: '#000000',
  },
}
SCSS
$custom: #9f2163;
$custom-light: #c06a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2163",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 328.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.17056,
    "h": 354.1
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#9F2163
secondary
#5AC28B
accent
#E9903F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F2163

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

Preview Lab → · Contrast checker → · Palette generator →

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