#9F226B#9F226B

#9F226B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 350.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9F226B
RGBrgb(159, 34, 107)
HSLhsl(325, 65%, 38%)
HSVhsv(325, 79%, 62%)
CMYKcmyk(0%, 78.6%, 32.7%, 37.6%)
CIE-LABlab(37.08, 55.81, -11.40)
CIE-LCHlch(37.08, 56.96, 348.46°)
OKLaboklab(48.05% 0.1709 -0.0297)
OKLCHoklch(48.05% 0.173 350.1)
XYZxyz(17.5249, 9.5786, 14.8330)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F226B #229F56
analogous
#94229F #9F226B #9F222C
triadic
#9F226B #6B9F22 #226B9F
tetradic
#9F226B #9F9422 #229F56 #222C9F
square
#9F226B #9F9422 #229F56 #222C9F
split-complementary
#9F226B #2C9F22 #229F94
monochromatic
#3A0C27 #6D1749 #9F226B #D12D8D #DD5FA8

Accessibility & contrast

On white

7.20
#9F226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F226B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F226B#FFFFFF#000000##FFFFFF
##9F226B1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#5C5F68
Tritanopia (blue-blind)
#AB1844
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f226b;
/* rgb */ color: rgb(159, 34, 107);
/* oklch */ color: oklch(48.1% 0.173 350.1);
Tailwind
colors: {
  custom: {
    50: '#c06b95',
    500: '#9f226b',
    950: '#000000',
  },
}
SCSS
$custom: #9f226b;
$custom-light: #c06b95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f226b",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 324.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.17342,
    "h": 350.1
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#9F226B
secondary
#5BC186
accent
#E88640
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F226B

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

Preview Lab → · Contrast checker → · Palette generator →

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