#7D254B#7D254B

#7D254B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.126 H 357.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7D254B
RGBrgb(125, 37, 75)
HSLhsl(334, 54%, 32%)
HSVhsv(334, 70%, 49%)
CMYKcmyk(0%, 70.4%, 40%, 51%)
CIE-LABlab(29.89, 41.26, -2.14)
CIE-LCHlch(29.89, 41.31, 357.04°)
OKLaboklab(41.22% 0.1264 -0.0051)
OKLCHoklch(41.22% 0.126 357.7)
XYZxyz(10.3897, 6.1923, 7.3034)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D254B #257D57
analogous
#7D2577 #7D254B #7D2B25
triadic
#7D254B #4B7D25 #254B7D
tetradic
#7D254B #777D25 #257D57 #2B257D
square
#7D254B #777D25 #257D57 #2B257D
split-complementary
#7D254B #257D2B #25777D
monochromatic
#1F0912 #4E172F #7D254B #AC3367 #CB5186

Accessibility & contrast

On white

9.38
#7D254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D254B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D254B#FFFFFF#000000##FFFFFF
##7D254B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#4E4C49
Tritanopia (blue-blind)
#871C35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d254b;
/* rgb */ color: rgb(125, 37, 75);
/* oklch */ color: oklch(41.2% 0.126 357.7);
Tailwind
colors: {
  custom: {
    50: '#a7667d',
    500: '#7d254b',
    950: '#000000',
  },
}
SCSS
$custom: #7d254b;
$custom-light: #a7667d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d254b",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 334.091,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.12645,
    "h": 357.7
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#7D254B
secondary
#4FAF85
accent
#DE9E4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D254B

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

Preview Lab → · Contrast checker → · Palette generator →

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