#902F7B#902F7B

#902F7B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 337.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#902F7B
RGBrgb(144, 47, 123)
HSLhsl(313, 51%, 37%)
HSVhsv(313, 67%, 56%)
CMYKcmyk(0%, 67.4%, 14.6%, 43.5%)
CIE-LABlab(36.73, 49.32, -22.20)
CIE-LCHlch(36.73, 54.09, 335.76°)
OKLaboklab(47.52% 0.1452 -0.0602)
OKLCHoklch(47.52% 0.157 337.5)
XYZxyz(16.0935, 9.3938, 19.7006)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F7B #2F9044
analogous
#752F90 #902F7B #902F4A
triadic
#902F7B #7B902F #2F7B90
tetradic
#902F7B #90752F #2F9044 #2F4A90
square
#902F7B #90752F #2F9044 #2F4A90
split-complementary
#902F7B #4A902F #2F9075
monochromatic
#34112C #622054 #902F7B #BE3EA2 #CF6BB9

Accessibility & contrast

On white

7.30
#902F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#902F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F7B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F7B#FFFFFF#000000##FFFFFF
##902F7B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#983450
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902f7b;
/* rgb */ color: rgb(144, 47, 123);
/* oklch */ color: oklch(47.5% 0.157 337.5);
Tailwind
colors: {
  custom: {
    50: '#b46fa1',
    500: '#902f7b',
    950: '#000000',
  },
}
SCSS
$custom: #902f7b;
$custom-light: #b46fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#902f7b",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 312.99,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47521,
    "c": 0.15713,
    "h": 337.5
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#902F7B
secondary
#65B677
accent
#DA6C4E
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #902F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#902F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva