#9F2B5F#9F2B5F

#9F2B5F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.158 H 357.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F2B5F
RGBrgb(159, 43, 95)
HSLhsl(333, 57%, 40%)
HSVhsv(333, 73%, 62%)
CMYKcmyk(0%, 73%, 40.3%, 37.6%)
CIE-LABlab(37.71, 51.46, -2.84)
CIE-LCHlch(37.71, 51.54, 356.84°)
OKLaboklab(48.38% 0.1579 -0.0068)
OKLCHoklch(48.38% 0.158 357.5)
XYZxyz(17.2287, 9.9270, 11.8331)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B5F #2B9F6B
analogous
#9F2B99 #9F2B5F #9F312B
triadic
#9F2B5F #5F9F2B #2B5F9F
tetradic
#9F2B5F #999F2B #2B9F6B #312B9F
square
#9F2B5F #999F2B #2B9F6B #312B9F
split-complementary
#9F2B5F #2B9F31 #2B999F
monochromatic
#3F1125 #6F1E42 #9F2B5F #CA3D7C #D76D9D

Accessibility & contrast

On white

7.04
#9F2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2B5F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B5F#FFFFFF#000000##FFFFFF
##9F2B5F1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#62615C
Tritanopia (blue-blind)
#AC1D41
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2b5f;
/* rgb */ color: rgb(159, 43, 95);
/* oklch */ color: oklch(48.4% 0.158 357.5);
Tailwind
colors: {
  custom: {
    50: '#c06e8c',
    500: '#9f2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b5f;
$custom-light: #c06e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b5f",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 333.103,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.15801,
    "h": 357.5
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#9F2B5F
secondary
#67BE97
accent
#E19C47
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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