#9F2046#9F2046

#9F2046 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.163 H 9.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9F2046
RGBrgb(159, 32, 70)
HSLhsl(342, 66%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 79.9%, 56%, 37.6%)
CIE-LABlab(35.69, 52.82, 10.31)
CIE-LCHlch(35.69, 53.82, 11.04°)
OKLaboklab(46.66% 0.1605 0.0261)
OKLCHoklch(46.66% 0.163 9.2)
XYZxyz(15.9216, 8.8485, 6.6627)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2046 #209F79
analogous
#9F2086 #9F2046 #9F3920
triadic
#9F2046 #469F20 #20469F
tetradic
#9F2046 #869F20 #209F79 #39209F
square
#9F2046 #869F20 #209F79 #39209F
split-complementary
#9F2046 #209F39 #20869F
monochromatic
#390B19 #6C1630 #9F2046 #D22A5C #DE5B82

Accessibility & contrast

On white

7.58
#9F2046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F2046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2046
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2046#FFFFFF#000000##FFFFFF
##9F20461.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434447
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2046;
/* rgb */ color: rgb(159, 32, 70);
/* oklch */ color: oklch(46.7% 0.163 9.2);
Tailwind
colors: {
  custom: {
    50: '#c26979',
    500: '#9f2046',
    950: '#000000',
  },
}
SCSS
$custom: #9f2046;
$custom-light: #c26979;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2046",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 342.047,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.16261,
    "h": 9.2
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#9F2046
secondary
#59C2A3
accent
#E9B63E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F2046

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

Preview Lab → · Contrast checker → · Palette generator →

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