#892478#892478

#892478 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.165 H 335.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#892478
RGBrgb(137, 36, 120)
HSLhsl(310, 58%, 34%)
HSVhsv(310, 74%, 54%)
CMYKcmyk(0%, 73.7%, 12.4%, 46.3%)
CIE-LABlab(33.85, 51.28, -24.91)
CIE-LCHlch(33.85, 57.01, 334.10°)
OKLaboklab(45.15% 0.15 -0.0679)
OKLCHoklch(45.15% 0.165 335.6)
XYZxyz(14.3378, 7.9375, 18.5426)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892478 #248935
analogous
#682489 #892478 #892446
triadic
#892478 #788924 #247889
tetradic
#892478 #896824 #248935 #244689
square
#892478 #896824 #248935 #244689
split-complementary
#892478 #468924 #248968
monochromatic
#280B23 #59174E #892478 #B931A2 #D255BD

Accessibility & contrast

On white

8.12
#892478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#892478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892478
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892478#FFFFFF#000000##FFFFFF
##8924781.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#485576
Tritanopia (blue-blind)
#902B4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #892478;
/* rgb */ color: rgb(137, 36, 120);
/* oklch */ color: oklch(45.2% 0.165 335.6);
Tailwind
colors: {
  custom: {
    50: '#af699f',
    500: '#892478',
    950: '#000000',
  },
}
SCSS
$custom: #892478;
$custom-light: #af699f;
$custom-dark: #000000;
JSON
{
  "hex": "#892478",
  "rgb": {
    "r": 137,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 310.099,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.16468,
    "h": 335.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#892478
secondary
#52B763
accent
#E26046
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #892478

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

Preview Lab → · Contrast checker → · Palette generator →

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