#7B2058#7B2058

#7B2058 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.138 H 347.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7B2058
RGBrgb(123, 32, 88)
HSLhsl(323, 59%, 30%)
HSVhsv(323, 74%, 48%)
CMYKcmyk(0%, 74%, 28.5%, 51.8%)
CIE-LABlab(29.29, 44.31, -11.64)
CIE-LCHlch(29.29, 45.82, 345.28°)
OKLaboklab(40.86% 0.1346 -0.0307)
OKLCHoklch(40.86% 0.138 347.1)
XYZxyz(10.4468, 5.9497, 9.8289)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2058 #207B43
analogous
#70207B #7B2058 #7B202A
triadic
#7B2058 #587B20 #20587B
tetradic
#7B2058 #7B7020 #207B43 #202A7B
square
#7B2058 #7B7020 #207B43 #202A7B
split-complementary
#7B2058 #2A7B20 #207B70
monochromatic
#1A0713 #4A1335 #7B2058 #AC2D7B #CF469A

Accessibility & contrast

On white

9.59
#7B2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2058
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2058#FFFFFF#000000##FFFFFF
##7B20581.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#841D39
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2058;
/* rgb */ color: rgb(123, 32, 88);
/* oklch */ color: oklch(40.9% 0.138 347.1);
Tailwind
colors: {
  custom: {
    50: '#a56487',
    500: '#7b2058',
    950: '#000000',
  },
}
SCSS
$custom: #7b2058;
$custom-light: #a56487;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2058",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 323.077,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.13805,
    "h": 347.1
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7B2058
secondary
#49AE70
accent
#E28246
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B2058

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

Preview Lab → · Contrast checker → · Palette generator →

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