#7B255C#7B255C

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

Color values

HEX#7B255C
RGBrgb(123, 37, 92)
HSLhsl(322, 54%, 31%)
HSVhsv(322, 70%, 48%)
CMYKcmyk(0%, 69.9%, 25.2%, 51.8%)
CIE-LABlab(30.18, 42.86, -12.89)
CIE-LCHlch(30.18, 44.75, 343.26°)
OKLaboklab(41.57% 0.1294 -0.0342)
OKLCHoklch(41.57% 0.134 345.2)
XYZxyz(10.7621, 6.3079, 10.7739)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B255C #257B44
analogous
#6F257B #7B255C #7B2531
triadic
#7B255C #5C7B25 #255C7B
tetradic
#7B255C #7B6F25 #257B44 #25317B
square
#7B255C #7B6F25 #257B44 #25317B
split-complementary
#7B255C #317B25 #257B6F
monochromatic
#1D0916 #4C1739 #7B255C #AA337F #CA509E

Accessibility & contrast

On white

9.29
#7B255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B255C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B255C#FFFFFF#000000##FFFFFF
##7B255C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5E
Deuteranopia (green-blind)
#484C5A
Tritanopia (blue-blind)
#83243D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b255c;
/* rgb */ color: rgb(123, 37, 92);
/* oklch */ color: oklch(41.6% 0.134 345.2);
Tailwind
colors: {
  custom: {
    50: '#a4678a',
    500: '#7b255c',
    950: '#000000',
  },
}
SCSS
$custom: #7b255c;
$custom-light: #a4678a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b255c",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 321.628,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.1338,
    "h": 345.2
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#7B255C
secondary
#4FAD71
accent
#DD7F4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B255C

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

Preview Lab → · Contrast checker → · Palette generator →

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