#7B255A#7B255A

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

Color values

HEX#7B255A
RGBrgb(123, 37, 90)
HSLhsl(323, 54%, 31%)
HSVhsv(323, 70%, 48%)
CMYKcmyk(0%, 69.9%, 26.8%, 51.8%)
CIE-LABlab(30.09, 42.57, -11.72)
CIE-LCHlch(30.09, 44.16, 344.61°)
OKLaboklab(41.48% 0.1289 -0.031)
OKLCHoklch(41.48% 0.133 346.5)
XYZxyz(10.6758, 6.2734, 10.3195)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B255A #257B46
analogous
#71257B #7B255A #7B252F
triadic
#7B255A #5A7B25 #255A7B
tetradic
#7B255A #7B7125 #257B46 #252F7B
square
#7B255A #7B7125 #257B46 #252F7B
split-complementary
#7B255A #2F7B25 #257B71
monochromatic
#1D0915 #4C1738 #7B255A #AA337C #CA509B

Accessibility & contrast

On white

9.32
#7B255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B255A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B255A#FFFFFF#000000##FFFFFF
##7B255A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#84233C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b255a;
/* rgb */ color: rgb(123, 37, 90);
/* oklch */ color: oklch(41.5% 0.133 346.5);
Tailwind
colors: {
  custom: {
    50: '#a46788',
    500: '#7b255a',
    950: '#000000',
  },
}
SCSS
$custom: #7b255a;
$custom-light: #a46788;
$custom-dark: #000000;
JSON
{
  "hex": "#7b255a",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 323.023,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.13253,
    "h": 346.5
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#7B255A
secondary
#4FAD73
accent
#DD834B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B255A

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

Preview Lab → · Contrast checker → · Palette generator →

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