#9B224E#9B224E

#9B224E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.159 H 4.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9B224E
RGBrgb(155, 34, 78)
HSLhsl(338, 64%, 37%)
HSVhsv(338, 78%, 61%)
CMYKcmyk(0%, 78.1%, 49.7%, 39.2%)
CIE-LABlab(35.33, 51.72, 4.51)
CIE-LCHlch(35.33, 51.91, 4.98°)
OKLaboklab(46.32% 0.1583 0.012)
OKLCHoklch(46.32% 0.159 4.3)
XYZxyz(15.4661, 8.6648, 8.0643)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B224E #229B6F
analogous
#9B228B #9B224E #9B3322
triadic
#9B224E #4E9B22 #224E9B
tetradic
#9B224E #8B9B22 #229B6F #33229B
square
#9B224E #8B9B22 #229B6F #33229B
split-complementary
#9B224E #229B33 #228B9B
monochromatic
#370C1B #691735 #9B224E #CD2D67 #DB5C8A

Accessibility & contrast

On white

7.68
#9B224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9B224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B224E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B224E#FFFFFF#000000##FFFFFF
##9B224E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#605C4B
Tritanopia (blue-blind)
#A90135
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b224e;
/* rgb */ color: rgb(155, 34, 78);
/* oklch */ color: oklch(46.3% 0.159 4.3);
Tailwind
colors: {
  custom: {
    50: '#be697f',
    500: '#9b224e',
    950: '#000000',
  },
}
SCSS
$custom: #9b224e;
$custom-light: #be697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b224e",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 338.182,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.15876,
    "h": 4.3
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#9B224E
secondary
#59C09A
accent
#E7AB41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B224E

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

Preview Lab → · Contrast checker → · Palette generator →

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