#7B254C#7B254C

#7B254C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 40.9% C 0.125 H 356.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7B254C
RGBrgb(123, 37, 76)
HSLhsl(333, 54%, 31%)
HSVhsv(333, 70%, 48%)
CMYKcmyk(0%, 69.9%, 38.2%, 51.8%)
CIE-LABlab(29.56, 40.74, -3.34)
CIE-LCHlch(29.56, 40.87, 355.32°)
OKLaboklab(40.91% 0.1247 -0.0083)
OKLCHoklch(40.91% 0.125 356.2)
XYZxyz(10.1351, 6.0571, 7.4715)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B254C #257B54
analogous
#7B2577 #7B254C #7B2925
triadic
#7B254C #4C7B25 #254C7B
tetradic
#7B254C #777B25 #257B54 #29257B
square
#7B254C #777B25 #257B54 #29257B
split-complementary
#7B254C #257B29 #25777B
monochromatic
#1D0912 #4C172F #7B254C #AA3369 #CA5088

Accessibility & contrast

On white

9.50
#7B254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B254C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B254C#FFFFFF#000000##FFFFFF
##7B254C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#4C4C4A
Tritanopia (blue-blind)
#851D35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b254c;
/* rgb */ color: rgb(123, 37, 76);
/* oklch */ color: oklch(40.9% 0.125 356.2);
Tailwind
colors: {
  custom: {
    50: '#a5667e',
    500: '#7b254c',
    950: '#000000',
  },
}
SCSS
$custom: #7b254c;
$custom-light: #a5667e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b254c",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 332.791,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.12496,
    "h": 356.2
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#7B254C
secondary
#4FAD82
accent
#DD9B4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B254C

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

Preview Lab → · Contrast checker → · Palette generator →

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