#9B2274#9B2274

#9B2274 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 344.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B2274
RGBrgb(155, 34, 116)
HSLhsl(319, 64%, 37%)
HSVhsv(319, 78%, 61%)
CMYKcmyk(0%, 78.1%, 25.2%, 39.2%)
CIE-LABlab(36.70, 55.90, -17.72)
CIE-LCHlch(36.70, 58.64, 342.41°)
OKLaboklab(47.76% 0.1692 -0.0473)
OKLCHoklch(47.76% 0.176 344.4)
XYZxyz(17.2427, 9.3754, 17.4212)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2274 #229B49
analogous
#86229B #9B2274 #9B2238
triadic
#9B2274 #749B22 #22749B
tetradic
#9B2274 #9B8622 #229B49 #22389B
square
#9B2274 #9B8622 #229B49 #22389B
split-complementary
#9B2274 #389B22 #229B86
monochromatic
#370C29 #69174E #9B2274 #CD2D9A #DB5CB2

Accessibility & contrast

On white

7.30
#9B2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2274
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2274#FFFFFF#000000##FFFFFF
##9B22741.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#A62148
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2274;
/* rgb */ color: rgb(155, 34, 116);
/* oklch */ color: oklch(47.8% 0.176 344.4);
Tailwind
colors: {
  custom: {
    50: '#bd6b9c',
    500: '#9b2274',
    950: '#000000',
  },
}
SCSS
$custom: #9b2274;
$custom-light: #bd6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2274",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 319.339,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.17569,
    "h": 344.4
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#9B2274
secondary
#59C07A
accent
#E77641
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2274

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

Preview Lab → · Contrast checker → · Palette generator →

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