#9F225E#9F225E

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

Color values

HEX#9F225E
RGBrgb(159, 34, 94)
HSLhsl(331, 65%, 38%)
HSVhsv(331, 79%, 62%)
CMYKcmyk(0%, 78.6%, 40.9%, 37.6%)
CIE-LABlab(36.60, 54.38, -3.84)
CIE-LCHlch(36.60, 54.51, 355.96°)
OKLaboklab(47.55% 0.1672 -0.0094)
OKLCHoklch(47.55% 0.167 356.8)
XYZxyz(16.8917, 9.3253, 11.4980)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F225E #229F63
analogous
#9F229C #9F225E #9F2422
triadic
#9F225E #5E9F22 #225E9F
tetradic
#9F225E #9C9F22 #229F63 #24229F
square
#9F225E #9C9F22 #229F63 #24229F
split-complementary
#9F225E #229F24 #229C9F
monochromatic
#3A0C22 #6D1740 #9F225E #D12D7C #DD5F9B

Accessibility & contrast

On white

7.33
#9F225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F225E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F225E#FFFFFF#000000##FFFFFF
##9F225E1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#AC0E3D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f225e;
/* rgb */ color: rgb(159, 34, 94);
/* oklch */ color: oklch(47.6% 0.167 356.8);
Tailwind
colors: {
  custom: {
    50: '#c06b8b',
    500: '#9f225e',
    950: '#000000',
  },
}
SCSS
$custom: #9f225e;
$custom-light: #c06b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f225e",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 331.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47553,
    "c": 0.16744,
    "h": 356.8
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F225E

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

Preview Lab → · Contrast checker → · Palette generator →

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