#9F225C#9F225C

#9F225C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.167 H 357.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9F225C
RGBrgb(159, 34, 92)
HSLhsl(332, 65%, 38%)
HSVhsv(332, 79%, 62%)
CMYKcmyk(0%, 78.6%, 42.1%, 37.6%)
CIE-LABlab(36.54, 54.17, -2.66)
CIE-LCHlch(36.54, 54.24, 357.19°)
OKLaboklab(47.48% 0.1665 -0.0063)
OKLCHoklch(47.48% 0.167 357.8)
XYZxyz(16.8031, 9.2899, 11.0314)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F225C #229F65
analogous
#9F229A #9F225C #9F2622
triadic
#9F225C #5C9F22 #225C9F
tetradic
#9F225C #9A9F22 #229F65 #26229F
square
#9F225C #9A9F22 #229F65 #26229F
split-complementary
#9F225C #229F26 #229A9F
monochromatic
#3A0C22 #6D173F #9F225C #D12D79 #DD5F99

Accessibility & contrast

On white

7.35
#9F225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F225C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F225C#FFFFFF#000000##FFFFFF
##9F225C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#605E59
Tritanopia (blue-blind)
#AC0B3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f225c;
/* rgb */ color: rgb(159, 34, 92);
/* oklch */ color: oklch(47.5% 0.167 357.8);
Tailwind
colors: {
  custom: {
    50: '#c06a8a',
    500: '#9f225c',
    950: '#000000',
  },
}
SCSS
$custom: #9f225c;
$custom-light: #c06a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f225c",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 332.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.16666,
    "h": 357.8
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#9F225C
secondary
#5BC192
accent
#E89A40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F225C

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

Preview Lab → · Contrast checker → · Palette generator →

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