#7B1952#7B1952

#7B1952 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.143 H 350.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7B1952
RGBrgb(123, 25, 82)
HSLhsl(325, 66%, 29%)
HSVhsv(325, 80%, 48%)
CMYKcmyk(0%, 79.7%, 33.3%, 51.8%)
CIE-LABlab(28.16, 46.02, -9.40)
CIE-LCHlch(28.16, 46.97, 348.46°)
OKLaboklab(39.96% 0.1408 -0.0245)
OKLCHoklch(39.96% 0.143 350.1)
XYZxyz(10.0396, 5.5166, 8.5171)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1952 #197B42
analogous
#73197B #7B1952 #7B1921
triadic
#7B1952 #527B19 #19527B
tetradic
#7B1952 #7B7319 #197B42 #19217B
square
#7B1952 #7B7319 #197B42 #19217B
split-complementary
#7B1952 #217B19 #197B73
monochromatic
#190511 #480F30 #7B1952 #AE2374 #D73894

Accessibility & contrast

On white

9.99
#7B1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1952
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1952#FFFFFF#000000##FFFFFF
##7B19521.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#464950
Tritanopia (blue-blind)
#851233
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1952;
/* rgb */ color: rgb(123, 25, 82);
/* oklch */ color: oklch(40.0% 0.143 350.1);
Tailwind
colors: {
  custom: {
    50: '#a56182',
    500: '#7b1952',
    950: '#000000',
  },
}
SCSS
$custom: #7b1952;
$custom-light: #a56182;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1952",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 325.102,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39961,
    "c": 0.14293,
    "h": 350.1
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#7B1952
secondary
#40AF6F
accent
#E9863F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1952

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

Preview Lab → · Contrast checker → · Palette generator →

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