#9F2E6E#9F2E6E

#9F2E6E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.161 H 349.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2E6E
RGBrgb(159, 46, 110)
HSLhsl(326, 55%, 40%)
HSVhsv(326, 71%, 62%)
CMYKcmyk(0%, 71.1%, 30.8%, 37.6%)
CIE-LABlab(38.64, 52.08, -10.92)
CIE-LCHlch(38.64, 53.21, 348.16°)
OKLaboklab(49.24% 0.1588 -0.0285)
OKLCHoklch(49.24% 0.161 349.8)
XYZxyz(18.0905, 10.4527, 15.8137)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E6E #2E9F5F
analogous
#982E9F #9F2E6E #9F2E35
triadic
#9F2E6E #6E9F2E #2E6E9F
tetradic
#9F2E6E #9F982E #2E9F5F #2E359F
square
#9F2E6E #9F982E #2E9F5F #2E359F
split-complementary
#9F2E6E #359F2E #2E9F98
monochromatic
#40132C #70204D #9F2E6E #C8428E #D671AA

Accessibility & contrast

On white

6.80
#9F2E6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2E6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E6E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E6E#FFFFFF#000000##FFFFFF
##9F2E6E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#5F626B
Tritanopia (blue-blind)
#AB284A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e6e;
/* rgb */ color: rgb(159, 46, 110);
/* oklch */ color: oklch(49.2% 0.161 349.8);
Tailwind
colors: {
  custom: {
    50: '#bf7097',
    500: '#9f2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e6e;
$custom-light: #bf7097;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e6e",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 326.018,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.16133,
    "h": 349.8
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#9F2E6E
secondary
#6BBE8F
accent
#DE8A49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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