#7B254F#7B254F

#7B254F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.126 H 354.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7B254F
RGBrgb(123, 37, 79)
HSLhsl(331, 54%, 31%)
HSVhsv(331, 70%, 48%)
CMYKcmyk(0%, 69.9%, 35.8%, 51.8%)
CIE-LABlab(29.66, 41.11, -5.16)
CIE-LCHlch(29.66, 41.43, 352.85°)
OKLaboklab(41.03% 0.1257 -0.0131)
OKLCHoklch(41.03% 0.126 354)
XYZxyz(10.2418, 6.0998, 8.0336)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B254F #257B51
analogous
#7B257A #7B254F #7B2625
triadic
#7B254F #4F7B25 #254F7B
tetradic
#7B254F #7A7B25 #257B51 #26257B
square
#7B254F #7A7B25 #257B51 #26257B
split-complementary
#7B254F #257B26 #257A7B
monochromatic
#1D0913 #4C1731 #7B254F #AA336D #CA508C

Accessibility & contrast

On white

9.46
#7B254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B254F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B254F#FFFFFF#000000##FFFFFF
##7B254F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#4B4C4D
Tritanopia (blue-blind)
#851E36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b254f;
/* rgb */ color: rgb(123, 37, 79);
/* oklch */ color: oklch(41.0% 0.126 354.0);
Tailwind
colors: {
  custom: {
    50: '#a56680',
    500: '#7b254f',
    950: '#000000',
  },
}
SCSS
$custom: #7b254f;
$custom-light: #a56680;
$custom-dark: #000000;
JSON
{
  "hex": "#7b254f",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 330.698,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.12636,
    "h": 354
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#7B254F
secondary
#4FAD7F
accent
#DD964B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B254F

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

Preview Lab → · Contrast checker → · Palette generator →

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