#7B255B#7B255B

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

Color values

HEX#7B255B
RGBrgb(123, 37, 91)
HSLhsl(322, 54%, 31%)
HSVhsv(322, 70%, 48%)
CMYKcmyk(0%, 69.9%, 26%, 51.8%)
CIE-LABlab(30.13, 42.71, -12.31)
CIE-LCHlch(30.13, 44.45, 343.93°)
OKLaboklab(41.53% 0.1291 -0.0326)
OKLCHoklch(41.53% 0.133 345.8)
XYZxyz(10.7187, 6.2905, 10.5452)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B255B #257B45
analogous
#70257B #7B255B #7B2530
triadic
#7B255B #5B7B25 #255B7B
tetradic
#7B255B #7B7025 #257B45 #25307B
square
#7B255B #7B7025 #257B45 #25307B
split-complementary
#7B255B #307B25 #257B70
monochromatic
#1D0915 #4C1738 #7B255B #AA337E #CA509D

Accessibility & contrast

On white

9.30
#7B255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B255B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B255B#FFFFFF#000000##FFFFFF
##7B255B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#83233C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b255b;
/* rgb */ color: rgb(123, 37, 91);
/* oklch */ color: oklch(41.5% 0.133 345.8);
Tailwind
colors: {
  custom: {
    50: '#a46789',
    500: '#7b255b',
    950: '#000000',
  },
}
SCSS
$custom: #7b255b;
$custom-light: #a46789;
$custom-dark: #000000;
JSON
{
  "hex": "#7b255b",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 322.326,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.13316,
    "h": 345.8
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#7B255B
secondary
#4FAD72
accent
#DD814B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B255B

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

Preview Lab → · Contrast checker → · Palette generator →

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