#7D254D#7D254D

#7D254D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.127 H 356.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7D254D
RGBrgb(125, 37, 77)
HSLhsl(333, 54%, 32%)
HSVhsv(333, 70%, 49%)
CMYKcmyk(0%, 70.4%, 38.4%, 51%)
CIE-LABlab(29.96, 41.49, -3.35)
CIE-LCHlch(29.96, 41.63, 355.38°)
OKLaboklab(41.29% 0.127 -0.0083)
OKLCHoklch(41.29% 0.127 356.3)
XYZxyz(10.4592, 6.2202, 7.6696)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D254D #257D55
analogous
#7D2579 #7D254D #7D2925
triadic
#7D254D #4D7D25 #254D7D
tetradic
#7D254D #797D25 #257D55 #29257D
square
#7D254D #797D25 #257D55 #29257D
split-complementary
#7D254D #257D29 #25797D
monochromatic
#1F0913 #4E1730 #7D254D #AC336A #CB5189

Accessibility & contrast

On white

9.36
#7D254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D254D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D254D#FFFFFF#000000##FFFFFF
##7D254D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#871D36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d254d;
/* rgb */ color: rgb(125, 37, 77);
/* oklch */ color: oklch(41.3% 0.127 356.3);
Tailwind
colors: {
  custom: {
    50: '#a6667e',
    500: '#7d254d',
    950: '#000000',
  },
}
SCSS
$custom: #7d254d;
$custom-light: #a6667e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d254d",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 332.727,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.1273,
    "h": 356.3
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#7D254D
secondary
#4FAF83
accent
#DE9B4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D254D

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

Preview Lab → · Contrast checker → · Palette generator →

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