#9F225A#9F225A

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

Color values

HEX#9F225A
RGBrgb(159, 34, 90)
HSLhsl(333, 65%, 38%)
HSVhsv(333, 79%, 62%)
CMYKcmyk(0%, 78.6%, 43.4%, 37.6%)
CIE-LABlab(36.47, 53.97, -1.47)
CIE-LCHlch(36.47, 53.99, 358.44°)
OKLaboklab(47.41% 0.1659 -0.0032)
OKLCHoklch(47.41% 0.166 358.9)
XYZxyz(16.7168, 9.2554, 10.5771)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F225A #229F67
analogous
#9F2298 #9F225A #9F2822
triadic
#9F225A #5A9F22 #225A9F
tetradic
#9F225A #989F22 #229F67 #28229F
square
#9F225A #989F22 #229F67 #28229F
split-complementary
#9F225A #229F28 #22989F
monochromatic
#3A0C21 #6D173D #9F225A #D12D77 #DD5F97

Accessibility & contrast

On white

7.37
#9F225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F225A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F225A#FFFFFF#000000##FFFFFF
##9F225A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475B
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#AD093B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f225a;
/* rgb */ color: rgb(159, 34, 90);
/* oklch */ color: oklch(47.4% 0.166 358.9);
Tailwind
colors: {
  custom: {
    50: '#c16a88',
    500: '#9f225a',
    950: '#000000',
  },
}
SCSS
$custom: #9f225a;
$custom-light: #c16a88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f225a",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 333.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.16592,
    "h": 358.9
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#9F225A
secondary
#5BC194
accent
#E89D40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F225A

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

Preview Lab → · Contrast checker → · Palette generator →

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