#9F2266#9F2266

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

Color values

HEX#9F2266
RGBrgb(159, 34, 102)
HSLhsl(327, 65%, 38%)
HSVhsv(327, 79%, 62%)
CMYKcmyk(0%, 78.6%, 35.8%, 37.6%)
CIE-LABlab(36.89, 55.24, -8.52)
CIE-LCHlch(36.89, 55.89, 351.24°)
OKLaboklab(47.85% 0.1695 -0.0219)
OKLCHoklch(47.85% 0.171 352.6)
XYZxyz(17.2695, 9.4764, 13.4875)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2266 #229F5B
analogous
#99229F #9F2266 #9F2227
triadic
#9F2266 #669F22 #22669F
tetradic
#9F2266 #9F9922 #229F5B #22279F
square
#9F2266 #9F9922 #229F5B #22279F
split-complementary
#9F2266 #279F22 #229F99
monochromatic
#3A0C25 #6D1746 #9F2266 #D12D86 #DD5FA3

Accessibility & contrast

On white

7.25
#9F2266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F2266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2266
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2266#FFFFFF#000000##FFFFFF
##9F22661.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4868
Deuteranopia (green-blind)
#5E5F63
Tritanopia (blue-blind)
#AC1541
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2266;
/* rgb */ color: rgb(159, 34, 102);
/* oklch */ color: oklch(47.9% 0.171 352.6);
Tailwind
colors: {
  custom: {
    50: '#c06b91',
    500: '#9f2266',
    950: '#000000',
  },
}
SCSS
$custom: #9f2266;
$custom-light: #c06b91;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2266",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 327.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.17095,
    "h": 352.6
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#9F2266
secondary
#5BC18A
accent
#E88D40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F2266

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

Preview Lab → · Contrast checker → · Palette generator →

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