#7D254C#7D254C

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

Color values

HEX#7D254C
RGBrgb(125, 37, 76)
HSLhsl(333, 54%, 32%)
HSVhsv(333, 70%, 49%)
CMYKcmyk(0%, 70.4%, 39.2%, 51%)
CIE-LABlab(29.93, 41.37, -2.75)
CIE-LCHlch(29.93, 41.47, 356.20°)
OKLaboklab(41.26% 0.1267 -0.0067)
OKLCHoklch(41.26% 0.127 357)
XYZxyz(10.4242, 6.2061, 7.4850)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D254C #257D56
analogous
#7D2578 #7D254C #7D2A25
triadic
#7D254C #4C7D25 #254C7D
tetradic
#7D254C #787D25 #257D56 #2A257D
square
#7D254C #787D25 #257D56 #2A257D
split-complementary
#7D254C #257D2A #25787D
monochromatic
#1F0913 #4E172F #7D254C #AC3369 #CB5187

Accessibility & contrast

On white

9.37
#7D254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D254C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D254C#FFFFFF#000000##FFFFFF
##7D254C1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#4D4D4A
Tritanopia (blue-blind)
#871C35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d254c;
/* rgb */ color: rgb(125, 37, 76);
/* oklch */ color: oklch(41.3% 0.127 357.0);
Tailwind
colors: {
  custom: {
    50: '#a6667e',
    500: '#7d254c',
    950: '#000000',
  },
}
SCSS
$custom: #7d254c;
$custom-light: #a6667e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d254c",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 333.409,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.12687,
    "h": 357
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#7D254C
secondary
#4FAF84
accent
#DE9C4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D254C

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

Preview Lab → · Contrast checker → · Palette generator →

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