#9F2267#9F2267

#9F2267 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.171 H 352.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9F2267
RGBrgb(159, 34, 103)
HSLhsl(327, 65%, 38%)
HSVhsv(327, 79%, 62%)
CMYKcmyk(0%, 78.6%, 35.2%, 37.6%)
CIE-LABlab(36.92, 55.35, -9.10)
CIE-LCHlch(36.92, 56.09, 350.67°)
OKLaboklab(47.89% 0.1698 -0.0235)
OKLCHoklch(47.89% 0.171 352.1)
XYZxyz(17.3194, 9.4964, 13.7503)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2267 #229F5A
analogous
#98229F #9F2267 #9F2228
triadic
#9F2267 #679F22 #22679F
tetradic
#9F2267 #9F9822 #229F5A #22289F
square
#9F2267 #9F9822 #229F5A #22289F
split-complementary
#9F2267 #289F22 #229F98
monochromatic
#3A0C26 #6D1746 #9F2267 #D12D88 #DD5FA4

Accessibility & contrast

On white

7.24
#9F2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2267
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2267#FFFFFF#000000##FFFFFF
##9F22671.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4969
Deuteranopia (green-blind)
#5D5F64
Tritanopia (blue-blind)
#AB1542
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2267;
/* rgb */ color: rgb(159, 34, 103);
/* oklch */ color: oklch(47.9% 0.171 352.1);
Tailwind
colors: {
  custom: {
    50: '#c06b92',
    500: '#9f2267',
    950: '#000000',
  },
}
SCSS
$custom: #9f2267;
$custom-light: #c06b92;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2267",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 326.88,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47891,
    "c": 0.17142,
    "h": 352.1
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#9F2267
secondary
#5BC189
accent
#E88B40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070D
muted
#827A7D

Preview Lab

Preview with #9F2267

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

Preview Lab → · Contrast checker → · Palette generator →

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