#872274#872274

#872274 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.163 H 336.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#872274
RGBrgb(135, 34, 116)
HSLhsl(311, 60%, 33%)
HSVhsv(311, 75%, 53%)
CMYKcmyk(0%, 74.8%, 14.1%, 47.1%)
CIE-LABlab(33.04, 50.87, -23.67)
CIE-LCHlch(33.04, 56.11, 335.04°)
OKLaboklab(44.43% 0.1496 -0.0644)
OKLCHoklch(44.43% 0.163 336.7)
XYZxyz(13.7163, 7.5572, 17.2559)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872274 #228735
analogous
#672287 #872274 #872241
triadic
#872274 #748722 #227487
tetradic
#872274 #876722 #228735 #224187
square
#872274 #876722 #228735 #224187
split-complementary
#872274 #418722 #228767
monochromatic
#250920 #56164A #872274 #B82E9E #D350BA

Accessibility & contrast

On white

8.36
#872274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#872274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872274
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872274#FFFFFF#000000##FFFFFF
##8722741.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#475372
Tritanopia (blue-blind)
#8E2848
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872274;
/* rgb */ color: rgb(135, 34, 116);
/* oklch */ color: oklch(44.4% 0.163 336.7);
Tailwind
colors: {
  custom: {
    50: '#ad689c',
    500: '#872274',
    950: '#000000',
  },
}
SCSS
$custom: #872274;
$custom-light: #ad689c;
$custom-dark: #000000;
JSON
{
  "hex": "#872274",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 311.287,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44433,
    "c": 0.16288,
    "h": 336.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#872274
secondary
#4EB762
accent
#E36345
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872274

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

Preview Lab → · Contrast checker → · Palette generator →

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