#9F2274#9F2274

#9F2274 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.178 H 345.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F2274
RGBrgb(159, 34, 116)
HSLhsl(321, 65%, 38%)
HSVhsv(321, 79%, 62%)
CMYKcmyk(0%, 78.6%, 27%, 37.6%)
CIE-LABlab(37.44, 56.91, -16.51)
CIE-LCHlch(37.44, 59.25, 343.82°)
OKLaboklab(48.44% 0.1729 -0.0438)
OKLCHoklch(48.44% 0.178 345.8)
XYZxyz(18.0233, 9.7780, 17.4578)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2274 #229F4D
analogous
#8B229F #9F2274 #9F2235
triadic
#9F2274 #749F22 #22749F
tetradic
#9F2274 #9F8B22 #229F4D #22359F
square
#9F2274 #9F8B22 #229F4D #22359F
split-complementary
#9F2274 #359F22 #229F8B
monochromatic
#3A0C2A #6D174F #9F2274 #D12D99 #DD5FB1

Accessibility & contrast

On white

7.11
#9F2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2274
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2274#FFFFFF#000000##FFFFFF
##9F22741.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#5A6071
Tritanopia (blue-blind)
#AA1F49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2274;
/* rgb */ color: rgb(159, 34, 116);
/* oklch */ color: oklch(48.4% 0.178 345.8);
Tailwind
colors: {
  custom: {
    50: '#c06b9c',
    500: '#9f2274',
    950: '#000000',
  },
}
SCSS
$custom: #9f2274;
$custom-light: #c06b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2274",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 320.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.17834,
    "h": 345.8
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#9F2274
secondary
#5BC17E
accent
#E87A40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2274

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

Preview Lab → · Contrast checker → · Palette generator →

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