#9B255F#9B255F

#9B255F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 355.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9B255F
RGBrgb(155, 37, 95)
HSLhsl(331, 61%, 38%)
HSVhsv(331, 76%, 61%)
CMYKcmyk(0%, 76.1%, 38.7%, 39.2%)
CIE-LABlab(36.21, 52.42, -5.14)
CIE-LCHlch(36.21, 52.67, 354.40°)
OKLaboklab(47.14% 0.161 -0.0129)
OKLCHoklch(47.14% 0.161 355.4)
XYZxyz(16.2458, 9.1199, 11.7291)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B255F #259B61
analogous
#9B259A #9B255F #9B2625
triadic
#9B255F #5F9B25 #255F9B
tetradic
#9B255F #9A9B25 #259B61 #26259B
square
#9B255F #9A9B25 #259B61 #26259B
split-complementary
#9B255F #259B26 #259A9B
monochromatic
#380D22 #6A1941 #9B255F #CC317D #D9619C

Accessibility & contrast

On white

7.44
#9B255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9B255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B255F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B255F#FFFFFF#000000##FFFFFF
##9B255F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4760
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#A8173F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b255f;
/* rgb */ color: rgb(155, 37, 95);
/* oklch */ color: oklch(47.1% 0.161 355.4);
Tailwind
colors: {
  custom: {
    50: '#bd6b8c',
    500: '#9b255f',
    950: '#000000',
  },
}
SCSS
$custom: #9b255f;
$custom-light: #bd6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b255f",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 330.508,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4714,
    "c": 0.16148,
    "h": 355.4
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#9B255F
secondary
#5DBF8F
accent
#E59543
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B255F

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

Preview Lab → · Contrast checker → · Palette generator →

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