#852874#852874

#852874 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.154 H 336.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#852874
RGBrgb(133, 40, 116)
HSLhsl(311, 54%, 34%)
HSVhsv(311, 70%, 52%)
CMYKcmyk(0%, 69.9%, 12.8%, 47.8%)
CIE-LABlab(33.49, 48.09, -23.00)
CIE-LCHlch(33.49, 53.31, 334.44°)
OKLaboklab(44.69% 0.1407 -0.0626)
OKLCHoklch(44.69% 0.154 336)
XYZxyz(13.5842, 7.7663, 17.3032)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852874 #288539
analogous
#682885 #852874 #852846
triadic
#852874 #748528 #287485
tetradic
#852874 #856828 #288539 #284685
square
#852874 #856828 #288539 #284685
split-complementary
#852874 #468528 #288568
monochromatic
#270C22 #561A4B #852874 #B4369D #CD5AB8

Accessibility & contrast

On white

8.23
#852874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#852874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852874
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852874#FFFFFF#000000##FFFFFF
##8528741.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#8C2E4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852874;
/* rgb */ color: rgb(133, 40, 116);
/* oklch */ color: oklch(44.7% 0.154 336.0);
Tailwind
colors: {
  custom: {
    50: '#ac6a9c',
    500: '#852874',
    950: '#000000',
  },
}
SCSS
$custom: #852874;
$custom-light: #ac6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#852874",
  "rgb": {
    "r": 133,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 310.968,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.15404,
    "h": 336
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#852874
secondary
#56B367
accent
#DD654B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #852874

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

Preview Lab → · Contrast checker → · Palette generator →

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