#9D267D#9D267D

#9D267D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.178 H 341.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9D267D
RGBrgb(157, 38, 125)
HSLhsl(316, 61%, 38%)
HSVhsv(316, 76%, 62%)
CMYKcmyk(0%, 75.8%, 20.4%, 38.4%)
CIE-LABlab(37.91, 56.35, -21.44)
CIE-LCHlch(37.91, 60.30, 339.17°)
OKLaboklab(48.84% 0.1688 -0.0577)
OKLCHoklch(48.84% 0.178 341.1)
XYZxyz(18.3000, 10.0368, 20.3716)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D267D #269D46
analogous
#81269D #9D267D #9D2642
triadic
#9D267D #7D9D26 #267D9D
tetradic
#9D267D #9D8126 #269D46 #26429D
square
#9D267D #9D8126 #269D46 #26429D
split-complementary
#9D267D #429D26 #269D81
monochromatic
#3A0E2F #6C1A56 #9D267D #CE33A4 #D964BA

Accessibility & contrast

On white

6.98
#9D267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D267D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D267D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D267D#FFFFFF#000000##FFFFFF
##9D267D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A7294F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d267d;
/* rgb */ color: rgb(157, 38, 125);
/* oklch */ color: oklch(48.8% 0.178 341.1);
Tailwind
colors: {
  custom: {
    50: '#be6da3',
    500: '#9d267d',
    950: '#000000',
  },
}
SCSS
$custom: #9d267d;
$custom-light: #be6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d267d",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 316.134,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.17837,
    "h": 341.1
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#9D267D
secondary
#60BF79
accent
#E46F44
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D267D

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

Preview Lab → · Contrast checker → · Palette generator →

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