#9F2148#9F2148

#9F2148 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 8.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9F2148
RGBrgb(159, 33, 72)
HSLhsl(341, 66%, 38%)
HSVhsv(341, 79%, 62%)
CMYKcmyk(0%, 79.2%, 54.7%, 37.6%)
CIE-LABlab(35.85, 52.67, 9.23)
CIE-LCHlch(35.85, 53.48, 9.94°)
OKLaboklab(46.79% 0.1603 0.0236)
OKLCHoklch(46.79% 0.162 8.4)
XYZxyz(16.0131, 8.9288, 7.0099)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2148 #219F78
analogous
#9F2187 #9F2148 #9F3921
triadic
#9F2148 #489F21 #21489F
tetradic
#9F2148 #879F21 #219F78 #39219F
square
#9F2148 #879F21 #219F78 #39219F
split-complementary
#9F2148 #219F39 #21879F
monochromatic
#3A0C1A #6C1631 #9F2148 #D22C5F #DD5D85

Accessibility & contrast

On white

7.54
#9F2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2148
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2148#FFFFFF#000000##FFFFFF
##9F21481.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2148;
/* rgb */ color: rgb(159, 33, 72);
/* oklch */ color: oklch(46.8% 0.162 8.4);
Tailwind
colors: {
  custom: {
    50: '#c2697a',
    500: '#9f2148',
    950: '#000000',
  },
}
SCSS
$custom: #9f2148;
$custom-light: #c2697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2148",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 341.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.16203,
    "h": 8.4
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#9F2148
secondary
#5AC2A2
accent
#E9B43F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F2148

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

Preview Lab → · Contrast checker → · Palette generator →

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