#7B255E#7B255E

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

Color values

HEX#7B255E
RGBrgb(123, 37, 94)
HSLhsl(320, 54%, 31%)
HSVhsv(320, 70%, 48%)
CMYKcmyk(0%, 69.9%, 23.6%, 51.8%)
CIE-LABlab(30.26, 43.15, -14.06)
CIE-LCHlch(30.26, 45.38, 341.95°)
OKLaboklab(41.66% 0.1298 -0.0375)
OKLCHoklch(41.66% 0.135 343.9)
XYZxyz(10.8507, 6.3433, 11.2404)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B255E #257B42
analogous
#6D257B #7B255E #7B2533
triadic
#7B255E #5E7B25 #255E7B
tetradic
#7B255E #7B6D25 #257B42 #25337B
square
#7B255E #7B6D25 #257B42 #25337B
split-complementary
#7B255E #337B25 #257B6D
monochromatic
#1D0916 #4C173A #7B255E #AA3382 #CA50A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B255E#FFFFFF#000000##FFFFFF
##7B255E1.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)
#2D3E60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#83253E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b255e;
/* rgb */ color: rgb(123, 37, 94);
/* oklch */ color: oklch(41.7% 0.135 343.9);
Tailwind
colors: {
  custom: {
    50: '#a4678b',
    500: '#7b255e',
    950: '#000000',
  },
}
SCSS
$custom: #7b255e;
$custom-light: #a4678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b255e",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 320.233,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.13512,
    "h": 343.9
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#7B255E
secondary
#4FAD6E
accent
#DD7C4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B255E

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

Preview Lab → · Contrast checker → · Palette generator →

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