#9F2273#9F2273

#9F2273 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.178 H 346.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9F2273
RGBrgb(159, 34, 115)
HSLhsl(321, 65%, 38%)
HSVhsv(321, 79%, 62%)
CMYKcmyk(0%, 78.6%, 27.7%, 37.6%)
CIE-LABlab(37.40, 56.78, -15.95)
CIE-LCHlch(37.40, 58.98, 344.31°)
OKLaboklab(48.39% 0.1727 -0.0423)
OKLCHoklch(48.39% 0.178 346.2)
XYZxyz(17.9655, 9.7548, 17.1531)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2273 #229F4E
analogous
#8C229F #9F2273 #9F2234
triadic
#9F2273 #739F22 #22739F
tetradic
#9F2273 #9F8C22 #229F4E #22349F
square
#9F2273 #9F8C22 #229F4E #22349F
split-complementary
#9F2273 #349F22 #229F8C
monochromatic
#3A0C2A #6D174F #9F2273 #D12D97 #DD5FB0

Accessibility & contrast

On white

7.12
#9F2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2273
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2273#FFFFFF#000000##FFFFFF
##9F22731.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#5A6070
Tritanopia (blue-blind)
#AA1E48
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2273;
/* rgb */ color: rgb(159, 34, 115);
/* oklch */ color: oklch(48.4% 0.178 346.2);
Tailwind
colors: {
  custom: {
    50: '#c06b9b',
    500: '#9f2273',
    950: '#000000',
  },
}
SCSS
$custom: #9f2273;
$custom-light: #c06b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2273",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 321.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.17777,
    "h": 346.2
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#9F2273
secondary
#5BC17F
accent
#E87B40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2273

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

Preview Lab → · Contrast checker → · Palette generator →

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