#902958#902958

#902958 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.144 H 356.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#902958
RGBrgb(144, 41, 88)
HSLhsl(333, 56%, 36%)
HSVhsv(333, 72%, 56%)
CMYKcmyk(0%, 71.5%, 38.9%, 43.5%)
CIE-LABlab(34.44, 47.00, -3.50)
CIE-LCHlch(34.44, 47.13, 355.74°)
OKLaboklab(45.38% 0.1441 -0.0086)
OKLCHoklch(45.38% 0.144 356.6)
XYZxyz(14.0569, 8.2214, 10.0773)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902958 #299061
analogous
#90298C #902958 #902D29
triadic
#902958 #589029 #295890
tetradic
#902958 #8C9029 #299061 #2D2990
square
#902958 #8C9029 #299061 #2D2990
split-complementary
#902958 #29902D #298C90
monochromatic
#310E1E #601B3B #902958 #C03775 #D26195

Accessibility & contrast

On white

7.94
#902958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#902958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902958
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902958#FFFFFF#000000##FFFFFF
##9029581.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4559
Deuteranopia (green-blind)
#595856
Tritanopia (blue-blind)
#9C1E3D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902958;
/* rgb */ color: rgb(144, 41, 88);
/* oklch */ color: oklch(45.4% 0.144 356.6);
Tailwind
colors: {
  custom: {
    50: '#b56b87',
    500: '#902958',
    950: '#000000',
  },
}
SCSS
$custom: #902958;
$custom-light: #b56b87;
$custom-dark: #000000;
JSON
{
  "hex": "#902958",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 332.621,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45377,
    "c": 0.14431,
    "h": 356.6
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#902958
secondary
#5DB88E
accent
#DF9A49
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #902958

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

Preview Lab → · Contrast checker → · Palette generator →

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