#9B257E#9B257E

#9B257E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.179 H 339.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9B257E
RGBrgb(155, 37, 126)
HSLhsl(315, 61%, 38%)
HSVhsv(315, 76%, 61%)
CMYKcmyk(0%, 76.1%, 18.7%, 39.2%)
CIE-LABlab(37.48, 56.32, -22.76)
CIE-LCHlch(37.48, 60.75, 338.00°)
OKLaboklab(48.48% 0.168 -0.0615)
OKLCHoklch(48.48% 0.179 339.9)
XYZxyz(17.9455, 9.7998, 20.6811)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B257E #259B42
analogous
#7D259B #9B257E #9B2543
triadic
#9B257E #7E9B25 #257E9B
tetradic
#9B257E #9B7D25 #259B42 #25439B
square
#9B257E #9B7D25 #259B42 #25439B
split-complementary
#9B257E #439B25 #259B7D
monochromatic
#380D2E #6A1956 #9B257E #CC31A6 #D961BC

Accessibility & contrast

On white

7.10
#9B257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B257E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B257E#FFFFFF#000000##FFFFFF
##9B257E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A4294F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b257e;
/* rgb */ color: rgb(155, 37, 126);
/* oklch */ color: oklch(48.5% 0.179 339.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ca3',
    500: '#9b257e',
    950: '#000000',
  },
}
SCSS
$custom: #9b257e;
$custom-light: #bc6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b257e",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 314.746,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.17886,
    "h": 339.9
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#9B257E
secondary
#5DBF75
accent
#E56B43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B257E

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

Preview Lab → · Contrast checker → · Palette generator →

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