#902974#902974

#902974 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.160 H 340.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#902974
RGBrgb(144, 41, 116)
HSLhsl(316, 56%, 36%)
HSVhsv(316, 72%, 56%)
CMYKcmyk(0%, 71.5%, 19.4%, 43.5%)
CIE-LABlab(35.55, 50.65, -19.65)
CIE-LCHlch(35.55, 54.33, 338.80°)
OKLaboklab(46.56% 0.1512 -0.0529)
OKLCHoklch(46.56% 0.16 340.7)
XYZxyz(15.4474, 8.7776, 17.4003)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902974 #299045
analogous
#792990 #902974 #902941
triadic
#902974 #749029 #297490
tetradic
#902974 #907929 #299045 #294190
square
#902974 #907929 #299045 #294190
split-complementary
#902974 #419029 #299079
monochromatic
#310E27 #601B4E #902974 #C0379A #D261B3

Accessibility & contrast

On white

7.62
#902974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#902974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902974
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902974#FFFFFF#000000##FFFFFF
##9029741.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#992B4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902974;
/* rgb */ color: rgb(144, 41, 116);
/* oklch */ color: oklch(46.6% 0.160 340.7);
Tailwind
colors: {
  custom: {
    50: '#b46c9c',
    500: '#902974',
    950: '#000000',
  },
}
SCSS
$custom: #902974;
$custom-light: #b46c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#902974",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 316.311,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.16016,
    "h": 340.7
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#902974
secondary
#5DB876
accent
#DF7249
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902974

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

Preview Lab → · Contrast checker → · Palette generator →

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