#9F227D#9F227D

#9F227D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.184 H 341.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9F227D
RGBrgb(159, 34, 125)
HSLhsl(316, 65%, 38%)
HSVhsv(316, 79%, 62%)
CMYKcmyk(0%, 78.6%, 21.4%, 37.6%)
CIE-LABlab(37.84, 58.08, -21.52)
CIE-LCHlch(37.84, 61.94, 339.67°)
OKLaboklab(48.86% 0.1745 -0.0579)
OKLCHoklch(48.86% 0.184 341.6)
XYZxyz(18.5724, 9.9976, 20.3497)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F227D #229F44
analogous
#82229F #9F227D #9F223E
triadic
#9F227D #7D9F22 #227D9F
tetradic
#9F227D #9F8222 #229F44 #223E9F
square
#9F227D #9F8222 #229F44 #223E9F
split-complementary
#9F227D #3E9F22 #229F82
monochromatic
#3A0C2E #6D1755 #9F227D #D12DA5 #DD5FBA

Accessibility & contrast

On white

7.00
#9F227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F227D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F227D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F227D#FFFFFF#000000##FFFFFF
##9F227D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#57607A
Tritanopia (blue-blind)
#A9244D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f227d;
/* rgb */ color: rgb(159, 34, 125);
/* oklch */ color: oklch(48.9% 0.184 341.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ca3',
    500: '#9f227d',
    950: '#000000',
  },
}
SCSS
$custom: #9f227d;
$custom-light: #bf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f227d",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 316.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.18381,
    "h": 341.6
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#9F227D
secondary
#5BC177
accent
#E86E40
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F227D

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

Preview Lab → · Contrast checker → · Palette generator →

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