#9F2256#9F2256

#9F2256 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 1.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9F2256
RGBrgb(159, 34, 86)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 78.6%, 45.9%, 37.6%)
CIE-LABlab(36.35, 53.58, 0.91)
CIE-LCHlch(36.35, 53.59, 0.98°)
OKLaboklab(47.28% 0.1645 0.003)
OKLCHoklch(47.28% 0.165 1)
XYZxyz(16.5512, 9.1891, 9.7044)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2256 #229F6B
analogous
#9F2294 #9F2256 #9F2C22
triadic
#9F2256 #569F22 #22569F
tetradic
#9F2256 #949F22 #229F6B #2C229F
square
#9F2256 #949F22 #229F6B #2C229F
split-complementary
#9F2256 #229F2C #22949F
monochromatic
#3A0C1F #6D173B #9F2256 #D12D71 #DD5F93

Accessibility & contrast

On white

7.40
#9F2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2256
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2256#FFFFFF#000000##FFFFFF
##9F22561.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#615E53
Tritanopia (blue-blind)
#AD0539
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2256;
/* rgb */ color: rgb(159, 34, 86);
/* oklch */ color: oklch(47.3% 0.165 1.0);
Tailwind
colors: {
  custom: {
    50: '#c16a85',
    500: '#9f2256',
    950: '#000000',
  },
}
SCSS
$custom: #9f2256;
$custom-light: #c16a85;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2256",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 335.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.16456,
    "h": 1
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#9F2256
secondary
#5BC197
accent
#E8A240
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2256

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

Preview Lab → · Contrast checker → · Palette generator →

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