#9D267E#9D267E

#9D267E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.179 H 340.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D267E
RGBrgb(157, 38, 126)
HSLhsl(316, 61%, 38%)
HSVhsv(316, 76%, 62%)
CMYKcmyk(0%, 75.8%, 19.7%, 38.4%)
CIE-LABlab(37.95, 56.49, -21.99)
CIE-LCHlch(37.95, 60.62, 338.73°)
OKLaboklab(48.89% 0.1689 -0.0593)
OKLCHoklch(48.89% 0.179 340.7)
XYZxyz(18.3642, 10.0625, 20.7097)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D267E #269D45
analogous
#80269D #9D267E #9D2642
triadic
#9D267E #7E9D26 #267E9D
tetradic
#9D267E #9D8026 #269D45 #26429D
square
#9D267E #9D8026 #269D45 #26429D
split-complementary
#9D267E #429D26 #269D80
monochromatic
#3A0E2F #6C1A56 #9D267E #CE33A5 #D964BB

Accessibility & contrast

On white

6.97
#9D267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D267E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D267E#FFFFFF#000000##FFFFFF
##9D267E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d267e;
/* rgb */ color: rgb(157, 38, 126);
/* oklch */ color: oklch(48.9% 0.179 340.7);
Tailwind
colors: {
  custom: {
    50: '#be6da3',
    500: '#9d267e',
    950: '#000000',
  },
}
SCSS
$custom: #9d267e;
$custom-light: #be6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d267e",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 315.63,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.17903,
    "h": 340.7
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#9D267E
secondary
#60BF79
accent
#E46D44
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D267E

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

Preview Lab → · Contrast checker → · Palette generator →

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