#9F2048#9F2048

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

Color values

HEX#9F2048
RGBrgb(159, 32, 72)
HSLhsl(341, 66%, 37%)
HSVhsv(341, 80%, 62%)
CMYKcmyk(0%, 79.9%, 54.7%, 37.6%)
CIE-LABlab(35.74, 52.98, 9.08)
CIE-LCHlch(35.74, 53.75, 9.73°)
OKLaboklab(46.71% 0.1613 0.0232)
OKLCHoklch(46.71% 0.163 8.2)
XYZxyz(15.9858, 8.8741, 7.0008)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2048 #209F77
analogous
#9F2088 #9F2048 #9F3720
triadic
#9F2048 #489F20 #20489F
tetradic
#9F2048 #889F20 #209F77 #37209F
square
#9F2048 #889F20 #209F77 #37209F
split-complementary
#9F2048 #209F37 #20889F
monochromatic
#390B1A #6C1631 #9F2048 #D22A5F #DE5B85

Accessibility & contrast

On white

7.57
#9F2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2048
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2048#FFFFFF#000000##FFFFFF
##9F20481.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424449
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2048;
/* rgb */ color: rgb(159, 32, 72);
/* oklch */ color: oklch(46.7% 0.163 8.2);
Tailwind
colors: {
  custom: {
    50: '#c2697a',
    500: '#9f2048',
    950: '#000000',
  },
}
SCSS
$custom: #9f2048;
$custom-light: #c2697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2048",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 341.102,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.16294,
    "h": 8.2
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#9F2048
secondary
#59C2A1
accent
#E9B43E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F2048

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

Preview Lab → · Contrast checker → · Palette generator →

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