#903E7B#903E7B

#903E7B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.4% C 0.134 H 338.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#903E7B
RGBrgb(144, 62, 123)
HSLhsl(315, 40%, 40%)
HSVhsv(315, 57%, 56%)
CMYKcmyk(0%, 56.9%, 14.6%, 43.5%)
CIE-LABlab(39.25, 42.45, -18.31)
CIE-LCHlch(39.25, 46.23, 336.67°)
OKLaboklab(49.37% 0.1247 -0.0493)
OKLCHoklch(49.37% 0.134 338.4)
XYZxyz(16.7996, 10.8059, 19.9360)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903E7B #3E9053
analogous
#7C3E90 #903E7B #903E52
triadic
#903E7B #7B903E #3E7B90
tetradic
#903E7B #907C3E #3E9053 #3E5290
square
#903E7B #907C3E #3E9053 #3E5290
split-complementary
#903E7B #52903E #3E907C
monochromatic
#3A1932 #652C56 #903E7B #B6559D #C880B6

Accessibility & contrast

On white

6.64
#903E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#903E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903E7B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903E7B#FFFFFF#000000##FFFFFF
##903E7B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#596179
Tritanopia (blue-blind)
#974157
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #903e7b;
/* rgb */ color: rgb(144, 62, 123);
/* oklch */ color: oklch(49.4% 0.134 338.4);
Tailwind
colors: {
  custom: {
    50: '#b377a1',
    500: '#903e7b',
    950: '#000000',
  },
}
SCSS
$custom: #903e7b;
$custom-light: #b377a1;
$custom-dark: #000000;
JSON
{
  "hex": "#903e7b",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 315.366,
    "s": 39.806,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.13412,
    "h": 338.4
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#903E7B
secondary
#77B286
accent
#D07758
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090F
muted
#807B7E

Preview Lab

Preview with #903E7B

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

Preview Lab → · Contrast checker → · Palette generator →

#903E7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva