#902875#902875

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

Color values

HEX#902875
RGBrgb(144, 40, 117)
HSLhsl(316, 57%, 36%)
HSVhsv(316, 72%, 56%)
CMYKcmyk(0%, 72.2%, 18.8%, 43.5%)
CIE-LABlab(35.46, 51.17, -20.41)
CIE-LCHlch(35.46, 55.10, 338.25°)
OKLaboklab(46.51% 0.1525 -0.0551)
OKLCHoklch(46.51% 0.162 340.1)
XYZxyz(15.4717, 8.7327, 17.6969)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902875 #289043
analogous
#772890 #902875 #902841
triadic
#902875 #759028 #287590
tetradic
#902875 #907728 #289043 #284190
square
#902875 #907728 #289043 #284190
split-complementary
#902875 #419028 #289077
monochromatic
#300D27 #601B4E #902875 #C0359C #D360B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902875#FFFFFF#000000##FFFFFF
##9028751.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)
#2F4977
Deuteranopia (green-blind)
#505973
Tritanopia (blue-blind)
#992B4B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902875;
/* rgb */ color: rgb(144, 40, 117);
/* oklch */ color: oklch(46.5% 0.162 340.1);
Tailwind
colors: {
  custom: {
    50: '#b46c9d',
    500: '#902875',
    950: '#000000',
  },
}
SCSS
$custom: #902875;
$custom-light: #b46c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#902875",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 315.577,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.16212,
    "h": 340.1
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#902875
secondary
#5CB874
accent
#E06F48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902875

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

Preview Lab → · Contrast checker → · Palette generator →

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