#9F2F7B#9F2F7B

#9F2F7B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.168 H 343.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2F7B
RGBrgb(159, 47, 123)
HSLhsl(319, 54%, 40%)
HSVhsv(319, 70%, 62%)
CMYKcmyk(0%, 70.4%, 22.6%, 37.6%)
CIE-LABlab(39.30, 53.42, -18.02)
CIE-LCHlch(39.30, 56.37, 341.36°)
OKLaboklab(49.89% 0.1606 -0.0481)
OKLCHoklch(49.89% 0.168 343.3)
XYZxyz(18.8904, 10.8359, 19.8317)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F7B #2F9F53
analogous
#8B2F9F #9F2F7B #9F2F43
triadic
#9F2F7B #7B9F2F #2F7B9F
tetradic
#9F2F7B #9F8B2F #2F9F53 #2F439F
square
#9F2F7B #9F8B2F #2F9F53 #2F439F
split-complementary
#9F2F7B #439F2F #2F9F8B
monochromatic
#411332 #702156 #9F2F7B #C8449D #D673B6

Accessibility & contrast

On white

6.63
#9F2F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F7B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F7B#FFFFFF#000000##FFFFFF
##9F2F7B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#5C6378
Tritanopia (blue-blind)
#A92F51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2f7b;
/* rgb */ color: rgb(159, 47, 123);
/* oklch */ color: oklch(49.9% 0.168 343.3);
Tailwind
colors: {
  custom: {
    50: '#bf71a1',
    500: '#9f2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f7b;
$custom-light: #bf71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f7b",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 319.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.16771,
    "h": 343.3
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#9F2F7B
secondary
#6DBD86
accent
#DE7A4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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