#9F225F#9F225F

#9F225F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.168 H 356.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F225F
RGBrgb(159, 34, 95)
HSLhsl(331, 65%, 38%)
HSVhsv(331, 79%, 62%)
CMYKcmyk(0%, 78.6%, 40.3%, 37.6%)
CIE-LABlab(36.64, 54.48, -4.43)
CIE-LCHlch(36.64, 54.66, 355.35°)
OKLaboklab(47.59% 0.1675 -0.011)
OKLCHoklch(47.59% 0.168 356.3)
XYZxyz(16.9369, 9.3434, 11.7358)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F225F #229F62
analogous
#9F229D #9F225F #9F2322
triadic
#9F225F #5F9F22 #225F9F
tetradic
#9F225F #9D9F22 #229F62 #23229F
square
#9F225F #9D9F22 #229F62 #23229F
split-complementary
#9F225F #229F23 #229D9F
monochromatic
#3A0C23 #6D1741 #9F225F #D12D7D #DD5F9C

Accessibility & contrast

On white

7.32
#9F225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F225F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F225F#FFFFFF#000000##FFFFFF
##9F225F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4761
Deuteranopia (green-blind)
#5F5F5C
Tritanopia (blue-blind)
#AC0F3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f225f;
/* rgb */ color: rgb(159, 34, 95);
/* oklch */ color: oklch(47.6% 0.168 356.3);
Tailwind
colors: {
  custom: {
    50: '#c06b8c',
    500: '#9f225f',
    950: '#000000',
  },
}
SCSS
$custom: #9f225f;
$custom-light: #c06b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f225f",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 330.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.16785,
    "h": 356.3
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#9F225F
secondary
#5BC190
accent
#E89640
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F225F

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

Preview Lab → · Contrast checker → · Palette generator →

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