#7B255D#7B255D

#7B255D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.134 H 344.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7B255D
RGBrgb(123, 37, 93)
HSLhsl(321, 54%, 31%)
HSVhsv(321, 70%, 48%)
CMYKcmyk(0%, 69.9%, 24.4%, 51.8%)
CIE-LABlab(30.22, 43.00, -13.48)
CIE-LCHlch(30.22, 45.06, 342.60°)
OKLaboklab(41.62% 0.1296 -0.0359)
OKLCHoklch(41.62% 0.134 344.5)
XYZxyz(10.8061, 6.3255, 11.0056)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B255D #257B43
analogous
#6E257B #7B255D #7B2532
triadic
#7B255D #5D7B25 #255D7B
tetradic
#7B255D #7B6E25 #257B43 #25327B
square
#7B255D #7B6E25 #257B43 #25327B
split-complementary
#7B255D #327B25 #257B6E
monochromatic
#1D0916 #4C1739 #7B255D #AA3381 #CA50A0

Accessibility & contrast

On white

9.27
#7B255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B255D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B255D#FFFFFF#000000##FFFFFF
##7B255D1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#83243D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b255d;
/* rgb */ color: rgb(123, 37, 93);
/* oklch */ color: oklch(41.6% 0.134 344.5);
Tailwind
colors: {
  custom: {
    50: '#a4678b',
    500: '#7b255d',
    950: '#000000',
  },
}
SCSS
$custom: #7b255d;
$custom-light: #a4678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b255d",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 320.93,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.13446,
    "h": 344.5
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#7B255D
secondary
#4FAD70
accent
#DD7E4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B255D

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

Preview Lab → · Contrast checker → · Palette generator →

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