#9B237F#9B237F

#9B237F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.182 H 339.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9B237F
RGBrgb(155, 35, 127)
HSLhsl(314, 63%, 37%)
HSVhsv(314, 77%, 61%)
CMYKcmyk(0%, 77.4%, 18.1%, 39.2%)
CIE-LABlab(37.31, 57.09, -23.65)
CIE-LCHlch(37.31, 61.80, 337.50°)
OKLaboklab(48.37% 0.17 -0.064)
OKLCHoklch(48.37% 0.182 339.4)
XYZxyz(17.9498, 9.7047, 21.0024)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B237F #239B3F
analogous
#7B239B #9B237F #9B2343
triadic
#9B237F #7F9B23 #237F9B
tetradic
#9B237F #9B7B23 #239B3F #23439B
square
#9B237F #9B7B23 #239B3F #23439B
split-complementary
#9B237F #439B23 #239B7B
monochromatic
#370C2D #691856 #9B237F #CD2EA8 #DB5EBD

Accessibility & contrast

On white

7.14
#9B237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B237F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B237F#FFFFFF#000000##FFFFFF
##9B237F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#A4284F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b237f;
/* rgb */ color: rgb(155, 35, 127);
/* oklch */ color: oklch(48.4% 0.182 339.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ba4',
    500: '#9b237f',
    950: '#000000',
  },
}
SCSS
$custom: #9b237f;
$custom-light: #bc6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b237f",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 314,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.18165,
    "h": 339.4
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#9B237F
secondary
#5ABF72
accent
#E66842
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B237F

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

Preview Lab → · Contrast checker → · Palette generator →

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