#9F225B#9F225B

#9F225B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 358.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F225B
RGBrgb(159, 34, 91)
HSLhsl(333, 65%, 38%)
HSVhsv(333, 79%, 62%)
CMYKcmyk(0%, 78.6%, 42.8%, 37.6%)
CIE-LABlab(36.50, 54.07, -2.06)
CIE-LCHlch(36.50, 54.11, 357.81°)
OKLaboklab(47.45% 0.1662 -0.0047)
OKLCHoklch(47.45% 0.166 358.4)
XYZxyz(16.7597, 9.2725, 10.8027)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F225B #229F66
analogous
#9F2299 #9F225B #9F2722
triadic
#9F225B #5B9F22 #225B9F
tetradic
#9F225B #999F22 #229F66 #27229F
square
#9F225B #999F22 #229F66 #27229F
split-complementary
#9F225B #229F27 #22999F
monochromatic
#3A0C21 #6D173E #9F225B #D12D78 #DD5F98

Accessibility & contrast

On white

7.36
#9F225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F225B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F225B#FFFFFF#000000##FFFFFF
##9F225B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#AD0A3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f225b;
/* rgb */ color: rgb(159, 34, 91);
/* oklch */ color: oklch(47.4% 0.166 358.4);
Tailwind
colors: {
  custom: {
    50: '#c16a89',
    500: '#9f225b',
    950: '#000000',
  },
}
SCSS
$custom: #9f225b;
$custom-light: #c16a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f225b",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 332.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.16629,
    "h": 358.4
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#9F225B
secondary
#5BC193
accent
#E89B40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F225B

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

Preview Lab → · Contrast checker → · Palette generator →

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