#9B2F52#9B2F52

#9B2F52 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.145 H 4.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9B2F52
RGBrgb(155, 47, 82)
HSLhsl(341, 53%, 40%)
HSVhsv(341, 70%, 61%)
CMYKcmyk(0%, 69.7%, 47.1%, 39.2%)
CIE-LABlab(37.14, 47.37, 4.53)
CIE-LCHlch(37.14, 47.58, 5.46°)
OKLaboklab(47.69% 0.1447 0.0121)
OKLCHoklch(47.69% 0.145 4.8)
XYZxyz(16.0583, 9.6128, 8.9908)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F52 #2F9B78
analogous
#9B2F88 #9B2F52 #9B422F
triadic
#9B2F52 #529B2F #2F529B
tetradic
#9B2F52 #889B2F #2F9B78 #422F9B
square
#9B2F52 #889B2F #2F9B78 #422F9B
split-complementary
#9B2F52 #2F9B42 #2F889B
monochromatic
#3D1320 #6C2139 #9B2F52 #C6426C #D47191

Accessibility & contrast

On white

7.19
#9B2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2F52
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F52#FFFFFF#000000##FFFFFF
##9B2F521.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#A91E3D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2f52;
/* rgb */ color: rgb(155, 47, 82);
/* oklch */ color: oklch(47.7% 0.145 4.8);
Tailwind
colors: {
  custom: {
    50: '#bd6f82',
    500: '#9b2f52',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f52;
$custom-light: #bd6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f52",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 340.556,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.14516,
    "h": 4.8
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#9B2F52
secondary
#6ABBA1
accent
#DDAE4B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9B2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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