#7B254A#7B254A

#7B254A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.124 H 357.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7B254A
RGBrgb(123, 37, 74)
HSLhsl(334, 54%, 31%)
HSVhsv(334, 70%, 48%)
CMYKcmyk(0%, 69.9%, 39.8%, 51.8%)
CIE-LABlab(29.49, 40.50, -2.12)
CIE-LCHlch(29.49, 40.55, 357.01°)
OKLaboklab(40.84% 0.124 -0.005)
OKLCHoklch(40.84% 0.124 357.7)
XYZxyz(10.0666, 6.0297, 7.1110)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B254A #257B56
analogous
#7B2575 #7B254A #7B2B25
triadic
#7B254A #4A7B25 #254A7B
tetradic
#7B254A #757B25 #257B56 #2B257B
square
#7B254A #757B25 #257B56 #2B257B
split-complementary
#7B254A #257B2B #25757B
monochromatic
#1D0911 #4C172E #7B254A #AA3366 #CA5085

Accessibility & contrast

On white

9.52
#7B254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B254A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B254A#FFFFFF#000000##FFFFFF
##7B254A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#4C4B48
Tritanopia (blue-blind)
#851C34
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b254a;
/* rgb */ color: rgb(123, 37, 74);
/* oklch */ color: oklch(40.8% 0.124 357.7);
Tailwind
colors: {
  custom: {
    50: '#a5667c',
    500: '#7b254a',
    950: '#000000',
  },
}
SCSS
$custom: #7b254a;
$custom-light: #a5667c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b254a",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 334.186,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.1241,
    "h": 357.7
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#7B254A
secondary
#4FAD85
accent
#DD9E4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B254A

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

Preview Lab → · Contrast checker → · Palette generator →

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