#9B315E#9B315E

#9B315E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.146 H 358.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9B315E
RGBrgb(155, 49, 94)
HSLhsl(335, 52%, 40%)
HSVhsv(335, 68%, 61%)
CMYKcmyk(0%, 68.4%, 39.4%, 39.2%)
CIE-LABlab(37.80, 47.81, -2.16)
CIE-LCHlch(37.80, 47.86, 357.42°)
OKLaboklab(48.3% 0.1464 -0.0051)
OKLCHoklch(48.3% 0.146 358)
XYZxyz(16.6373, 9.9753, 11.6368)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B315E #319B6E
analogous
#9B3193 #9B315E #9B3931
triadic
#9B315E #5E9B31 #315E9B
tetradic
#9B315E #939B31 #319B6E #39319B
square
#9B315E #939B31 #319B6E #39319B
split-complementary
#9B315E #319B39 #31939B
monochromatic
#3E1426 #6D2242 #9B315E #C4457B #D3739C

Accessibility & contrast

On white

7.01
#9B315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B315E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B315E#FFFFFF#000000##FFFFFF
##9B315E1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5F
Deuteranopia (green-blind)
#62605C
Tritanopia (blue-blind)
#A82643
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b315e;
/* rgb */ color: rgb(155, 49, 94);
/* oklch */ color: oklch(48.3% 0.146 358.0);
Tailwind
colors: {
  custom: {
    50: '#bd718b',
    500: '#9b315e',
    950: '#000000',
  },
}
SCSS
$custom: #9b315e;
$custom-light: #bd718b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b315e",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 334.528,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.14646,
    "h": 358
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#9B315E
secondary
#6DBB9A
accent
#DB9F4C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9B315E

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

Preview Lab → · Contrast checker → · Palette generator →

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