#9D267B#9D267B

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

Color values

HEX#9D267B
RGBrgb(157, 38, 123)
HSLhsl(317, 61%, 38%)
HSVhsv(317, 76%, 62%)
CMYKcmyk(0%, 75.8%, 21.7%, 38.4%)
CIE-LABlab(37.82, 56.08, -20.34)
CIE-LCHlch(37.82, 59.65, 340.06°)
OKLaboklab(48.74% 0.1685 -0.0546)
OKLCHoklch(48.74% 0.177 342)
XYZxyz(18.1735, 9.9863, 19.7055)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D267B #269D48
analogous
#83269D #9D267B #9D263F
triadic
#9D267B #7B9D26 #267B9D
tetradic
#9D267B #9D8326 #269D48 #263F9D
square
#9D267B #9D8326 #269D48 #263F9D
split-complementary
#9D267B #3F9D26 #269D83
monochromatic
#3A0E2E #6C1A54 #9D267B #CE33A1 #D964B8

Accessibility & contrast

On white

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

On black

3.00
#9D267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D267B#FFFFFF#000000##FFFFFF
##9D267B1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A7284D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d267b;
/* rgb */ color: rgb(157, 38, 123);
/* oklch */ color: oklch(48.7% 0.177 342.0);
Tailwind
colors: {
  custom: {
    50: '#be6da1',
    500: '#9d267b',
    950: '#000000',
  },
}
SCSS
$custom: #9d267b;
$custom-light: #be6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d267b",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 317.143,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.17708,
    "h": 342
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#9D267B
secondary
#60BF7B
accent
#E47244
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9D267B

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

Preview Lab → · Contrast checker → · Palette generator →

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