#9F2E6D#9F2E6D

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

Color values

HEX#9F2E6D
RGBrgb(159, 46, 109)
HSLhsl(327, 55%, 40%)
HSVhsv(327, 71%, 62%)
CMYKcmyk(0%, 71.1%, 31.4%, 37.6%)
CIE-LABlab(38.61, 51.96, -10.35)
CIE-LCHlch(38.61, 52.98, 348.74°)
OKLaboklab(49.2% 0.1585 -0.0269)
OKLCHoklch(49.2% 0.161 350.4)
XYZxyz(18.0363, 10.4311, 15.5286)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E6D #2E9F60
analogous
#992E9F #9F2E6D #9F2E34
triadic
#9F2E6D #6D9F2E #2E6D9F
tetradic
#9F2E6D #9F992E #2E9F60 #2E349F
square
#9F2E6D #9F992E #2E9F60 #2E349F
split-complementary
#9F2E6D #349F2E #2E9F99
monochromatic
#40132C #70204C #9F2E6D #C8428D #D671A9

Accessibility & contrast

On white

6.81
#9F2E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2E6D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E6D#FFFFFF#000000##FFFFFF
##9F2E6D1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#60626A
Tritanopia (blue-blind)
#AB2849
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e6d;
/* rgb */ color: rgb(159, 46, 109);
/* oklch */ color: oklch(49.2% 0.161 350.4);
Tailwind
colors: {
  custom: {
    50: '#bf7096',
    500: '#9f2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e6d;
$custom-light: #bf7096;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e6d",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 326.549,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49195,
    "c": 0.16079,
    "h": 350.4
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#9F2E6D
secondary
#6BBE90
accent
#DE8B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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