#852158#852158

#852158 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.145 H 351.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#852158
RGBrgb(133, 33, 88)
HSLhsl(327, 60%, 33%)
HSVhsv(327, 75%, 52%)
CMYKcmyk(0%, 75.2%, 33.8%, 47.8%)
CIE-LABlab(31.30, 46.80, -8.41)
CIE-LCHlch(31.30, 47.55, 349.82°)
OKLaboklab(42.69% 0.1432 -0.0218)
OKLCHoklch(42.69% 0.145 351.4)
XYZxyz(11.9789, 6.7802, 9.9085)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852158 #21854E
analogous
#802185 #852158 #852126
triadic
#852158 #588521 #215885
tetradic
#852158 #858021 #21854E #212685
square
#852158 #858021 #21854E #212685
split-complementary
#852158 #268521 #218580
monochromatic
#230917 #541538 #852158 #B62D78 #D34D97

Accessibility & contrast

On white

8.91
#852158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#852158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852158
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852158#FFFFFF#000000##FFFFFF
##8521581.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#8F1A39
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #852158;
/* rgb */ color: rgb(133, 33, 88);
/* oklch */ color: oklch(42.7% 0.145 351.4);
Tailwind
colors: {
  custom: {
    50: '#ac6687',
    500: '#852158',
    950: '#000000',
  },
}
SCSS
$custom: #852158;
$custom-light: #ac6687;
$custom-dark: #000000;
JSON
{
  "hex": "#852158",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 327,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.14482,
    "h": 351.4
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#852158
secondary
#4CB67C
accent
#E38C44
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #852158

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

Preview Lab → · Contrast checker → · Palette generator →

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