#9B2F4F#9B2F4F

#9B2F4F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.6% C 0.144 H 6.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9B2F4F
RGBrgb(155, 47, 79)
HSLhsl(342, 53%, 40%)
HSVhsv(342, 70%, 61%)
CMYKcmyk(0%, 69.7%, 49%, 39.2%)
CIE-LABlab(37.06, 47.08, 6.33)
CIE-LCHlch(37.06, 47.50, 7.65°)
OKLaboklab(47.6% 0.1435 0.0166)
OKLCHoklch(47.6% 0.144 6.6)
XYZxyz(15.9467, 9.5682, 8.4027)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F4F #2F9B7B
analogous
#9B2F85 #9B2F4F #9B452F
triadic
#9B2F4F #4F9B2F #2F4F9B
tetradic
#9B2F4F #859B2F #2F9B7B #452F9B
square
#9B2F4F #859B2F #2F9B7B #452F9B
split-complementary
#9B2F4F #2F9B45 #2F859B
monochromatic
#3D131F #6C2137 #9B2F4F #C64269 #D4718E

Accessibility & contrast

On white

7.21
#9B2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B2F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2F4F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F4F#FFFFFF#000000##FFFFFF
##9B2F4F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A50
Deuteranopia (green-blind)
#645F4C
Tritanopia (blue-blind)
#A91D3C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2f4f;
/* rgb */ color: rgb(155, 47, 79);
/* oklch */ color: oklch(47.6% 0.144 6.6);
Tailwind
colors: {
  custom: {
    50: '#be6f80',
    500: '#9b2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f4f;
$custom-light: #be6f80;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f4f",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 342.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.476,
    "c": 0.14447,
    "h": 6.6
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#9B2F4F
secondary
#6ABBA3
accent
#DDB24B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9B2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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