#9F2272#9F2272

#9F2272 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.177 H 346.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F2272
RGBrgb(159, 34, 114)
HSLhsl(322, 65%, 38%)
HSVhsv(322, 79%, 62%)
CMYKcmyk(0%, 78.6%, 28.3%, 37.6%)
CIE-LABlab(37.36, 56.66, -15.39)
CIE-LCHlch(37.36, 58.71, 344.81°)
OKLaboklab(48.35% 0.1725 -0.0407)
OKLCHoklch(48.35% 0.177 346.7)
XYZxyz(17.9082, 9.7319, 16.8517)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2272 #229F4F
analogous
#8D229F #9F2272 #9F2233
triadic
#9F2272 #729F22 #22729F
tetradic
#9F2272 #9F8D22 #229F4F #22339F
square
#9F2272 #9F8D22 #229F4F #22339F
split-complementary
#9F2272 #339F22 #229F8D
monochromatic
#3A0C2A #6D174E #9F2272 #D12D96 #DD5FAF

Accessibility & contrast

On white

7.13
#9F2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2272
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2272#FFFFFF#000000##FFFFFF
##9F22721.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#5A606F
Tritanopia (blue-blind)
#AA1D47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2272;
/* rgb */ color: rgb(159, 34, 114);
/* oklch */ color: oklch(48.3% 0.177 346.7);
Tailwind
colors: {
  custom: {
    50: '#c06b9a',
    500: '#9f2272',
    950: '#000000',
  },
}
SCSS
$custom: #9f2272;
$custom-light: #c06b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2272",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 321.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.1772,
    "h": 346.7
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#9F2272
secondary
#5BC180
accent
#E87C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2272

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

Preview Lab → · Contrast checker → · Palette generator →

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