#9F2268#9F2268

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

Color values

HEX#9F2268
RGBrgb(159, 34, 104)
HSLhsl(326, 65%, 38%)
HSVhsv(326, 79%, 62%)
CMYKcmyk(0%, 78.6%, 34.6%, 37.6%)
CIE-LABlab(36.96, 55.46, -9.67)
CIE-LCHlch(36.96, 56.30, 350.11°)
OKLaboklab(47.93% 0.1701 -0.025)
OKLCHoklch(47.93% 0.172 351.6)
XYZxyz(17.3698, 9.5166, 14.0162)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2268 #229F59
analogous
#97229F #9F2268 #9F2229
triadic
#9F2268 #689F22 #22689F
tetradic
#9F2268 #9F9722 #229F59 #22299F
square
#9F2268 #9F9722 #229F59 #22299F
split-complementary
#9F2268 #299F22 #229F97
monochromatic
#3A0C26 #6D1747 #9F2268 #D12D89 #DD5FA5

Accessibility & contrast

On white

7.23
#9F2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2268
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2268#FFFFFF#000000##FFFFFF
##9F22681.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496A
Deuteranopia (green-blind)
#5D5F65
Tritanopia (blue-blind)
#AB1642
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2268;
/* rgb */ color: rgb(159, 34, 104);
/* oklch */ color: oklch(47.9% 0.172 351.6);
Tailwind
colors: {
  custom: {
    50: '#c06b93',
    500: '#9f2268',
    950: '#000000',
  },
}
SCSS
$custom: #9f2268;
$custom-light: #c06b93;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2268",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 326.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.17191,
    "h": 351.6
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#9F2268
secondary
#5BC188
accent
#E88A40
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F2268

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

Preview Lab → · Contrast checker → · Palette generator →

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