#7B2852#7B2852

#7B2852 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.124 H 352.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7B2852
RGBrgb(123, 40, 82)
HSLhsl(330, 51%, 32%)
HSVhsv(330, 67%, 48%)
CMYKcmyk(0%, 67.5%, 33.3%, 51.8%)
CIE-LABlab(30.25, 40.18, -6.25)
CIE-LCHlch(30.25, 40.66, 351.16°)
OKLaboklab(41.5% 0.1225 -0.0161)
OKLCHoklch(41.5% 0.124 352.5)
XYZxyz(10.4507, 6.3389, 8.6542)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2852 #287B51
analogous
#7B287B #7B2852 #7B2828
triadic
#7B2852 #527B28 #28527B
tetradic
#7B2852 #7B7B28 #287B51 #28287B
square
#7B2852 #7B7B28 #287B51 #28287B
split-complementary
#7B2852 #287B28 #287B7B
monochromatic
#1F0A14 #4D1933 #7B2852 #A93771 #C8568F

Accessibility & contrast

On white

9.26
#7B2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2852
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2852#FFFFFF#000000##FFFFFF
##7B28521.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#842339
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2852;
/* rgb */ color: rgb(123, 40, 82);
/* oklch */ color: oklch(41.5% 0.124 352.5);
Tailwind
colors: {
  custom: {
    50: '#a46882',
    500: '#7b2852',
    950: '#000000',
  },
}
SCSS
$custom: #7b2852;
$custom-light: #a46882;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2852",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 329.639,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.12356,
    "h": 352.5
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#7B2852
secondary
#52AD7F
accent
#DA934D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B2852

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

Preview Lab → · Contrast checker → · Palette generator →

#7B2852 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva