#902972#902972

#902972 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.159 H 341.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#902972
RGBrgb(144, 41, 114)
HSLhsl(317, 56%, 36%)
HSVhsv(317, 72%, 56%)
CMYKcmyk(0%, 71.5%, 20.8%, 43.5%)
CIE-LABlab(35.46, 50.36, -18.53)
CIE-LCHlch(35.46, 53.66, 339.80°)
OKLaboklab(46.46% 0.1508 -0.0497)
OKLCHoklch(46.46% 0.159 341.7)
XYZxyz(15.3323, 8.7316, 16.7942)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902972 #299047
analogous
#7B2990 #902972 #90293F
triadic
#902972 #729029 #297290
tetradic
#902972 #907B29 #299047 #293F90
square
#902972 #907B29 #299047 #293F90
split-complementary
#902972 #3F9029 #29907B
monochromatic
#310E27 #601B4C #902972 #C03798 #D261B1

Accessibility & contrast

On white

7.65
#902972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#902972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902972
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902972#FFFFFF#000000##FFFFFF
##9029721.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#992A4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902972;
/* rgb */ color: rgb(144, 41, 114);
/* oklch */ color: oklch(46.5% 0.159 341.7);
Tailwind
colors: {
  custom: {
    50: '#b46c9a',
    500: '#902972',
    950: '#000000',
  },
}
SCSS
$custom: #902972;
$custom-light: #b46c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902972",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 317.476,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.1588,
    "h": 341.7
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#902972
secondary
#5DB877
accent
#DF7549
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902972

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

Preview Lab → · Contrast checker → · Palette generator →

#902972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva