#845274#845274

#845274 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.6% C 0.082 H 339.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#845274
RGBrgb(132, 82, 116)
HSLhsl(319, 23%, 42%)
HSVhsv(319, 38%, 52%)
CMYKcmyk(0%, 37.9%, 12.1%, 48.2%)
CIE-LABlab(41.54, 26.26, -10.67)
CIE-LCHlch(41.54, 28.34, 337.89°)
OKLaboklab(50.64% 0.0765 -0.0284)
OKLCHoklch(50.64% 0.082 339.6)
XYZxyz(15.6854, 12.2019, 18.0486)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845274 #528462
analogous
#7B5284 #845274 #84525B
triadic
#845274 #748452 #527484
tetradic
#845274 #847B52 #528462 #525B84
square
#845274 #847B52 #528462 #525B84
split-complementary
#845274 #5B8452 #52847B
monochromatic
#392332 #5E3B53 #845274 #A56E93 #BC94B0

Accessibility & contrast

On white

6.10
#845274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#845274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845274
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845274#FFFFFF#000000##FFFFFF
##8452741.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D75
Deuteranopia (green-blind)
#606573
Tritanopia (blue-blind)
#89535E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #845274;
/* rgb */ color: rgb(132, 82, 116);
/* oklch */ color: oklch(50.6% 0.082 339.6);
Tailwind
colors: {
  custom: {
    50: '#a9839c',
    500: '#845274',
    950: '#000000',
  },
}
SCSS
$custom: #845274;
$custom-light: #a9839c;
$custom-dark: #000000;
JSON
{
  "hex": "#845274",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 319.2,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.0816,
    "h": 339.6
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#845274
secondary
#88AA93
accent
#C08468
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #845274

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

Preview Lab → · Contrast checker → · Palette generator →

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