#9C2148#9C2148

#9C2148 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.159 H 7.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9C2148
RGBrgb(156, 33, 72)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 61%)
CMYKcmyk(0%, 78.8%, 53.8%, 38.8%)
CIE-LABlab(35.25, 51.81, 8.32)
CIE-LCHlch(35.25, 52.47, 9.12°)
OKLaboklab(46.24% 0.1579 0.0214)
OKLCHoklch(46.24% 0.159 7.7)
XYZxyz(15.4253, 8.6257, 6.9823)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2148 #219C75
analogous
#9C2185 #9C2148 #9C3821
triadic
#9C2148 #489C21 #21489C
tetradic
#9C2148 #859C21 #219C75 #38219C
square
#9C2148 #859C21 #219C75 #38219C
split-complementary
#9C2148 #219C38 #21859C
monochromatic
#370C19 #691631 #9C2148 #CF2C5F #DC5B84

Accessibility & contrast

On white

7.71
#9C2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9C2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2148
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2148#FFFFFF#000000##FFFFFF
##9C21481.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c2148;
/* rgb */ color: rgb(156, 33, 72);
/* oklch */ color: oklch(46.2% 0.159 7.7);
Tailwind
colors: {
  custom: {
    50: '#bf697a',
    500: '#9c2148',
    950: '#000000',
  },
}
SCSS
$custom: #9c2148;
$custom-light: #bf697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2148",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 340.976,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46242,
    "c": 0.1593,
    "h": 7.7
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#9C2148
secondary
#58C1A0
accent
#E8B340
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9C2148

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

Preview Lab → · Contrast checker → · Palette generator →

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