#7B254B#7B254B

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

Color values

HEX#7B254B
RGBrgb(123, 37, 75)
HSLhsl(333, 54%, 31%)
HSVhsv(333, 70%, 48%)
CMYKcmyk(0%, 69.9%, 39%, 51.8%)
CIE-LABlab(29.52, 40.62, -2.73)
CIE-LCHlch(29.52, 40.71, 356.16°)
OKLaboklab(40.88% 0.1243 -0.0066)
OKLCHoklch(40.88% 0.125 356.9)
XYZxyz(10.1006, 6.0433, 7.2898)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B254B #257B55
analogous
#7B2576 #7B254B #7B2A25
triadic
#7B254B #4B7B25 #254B7B
tetradic
#7B254B #767B25 #257B55 #2A257B
square
#7B254B #767B25 #257B55 #2A257B
split-complementary
#7B254B #257B2A #25767B
monochromatic
#1D0912 #4C172E #7B254B #AA3368 #CA5086

Accessibility & contrast

On white

9.51
#7B254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B254B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B254B#FFFFFF#000000##FFFFFF
##7B254B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#851D35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b254b;
/* rgb */ color: rgb(123, 37, 75);
/* oklch */ color: oklch(40.9% 0.125 356.9);
Tailwind
colors: {
  custom: {
    50: '#a5667d',
    500: '#7b254b',
    950: '#000000',
  },
}
SCSS
$custom: #7b254b;
$custom-light: #a5667d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b254b",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 333.488,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.12452,
    "h": 356.9
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#7B254B
secondary
#4FAD83
accent
#DD9C4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B254B

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

Preview Lab → · Contrast checker → · Palette generator →

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