#7D254A#7D254A

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

Color values

HEX#7D254A
RGBrgb(125, 37, 74)
HSLhsl(335, 54%, 32%)
HSVhsv(335, 70%, 49%)
CMYKcmyk(0%, 70.4%, 40.8%, 51%)
CIE-LABlab(29.86, 41.14, -1.52)
CIE-LCHlch(29.86, 41.17, 357.88°)
OKLaboklab(41.18% 0.126 -0.0035)
OKLCHoklch(41.18% 0.126 358.4)
XYZxyz(10.3557, 6.1788, 7.1245)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D254A #257D58
analogous
#7D2576 #7D254A #7D2C25
triadic
#7D254A #4A7D25 #254A7D
tetradic
#7D254A #767D25 #257D58 #2C257D
square
#7D254A #767D25 #257D58 #2C257D
split-complementary
#7D254A #257D2C #25767D
monochromatic
#1F0912 #4E172E #7D254A #AC3366 #CB5184

Accessibility & contrast

On white

9.39
#7D254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D254A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D254A#FFFFFF#000000##FFFFFF
##7D254A1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#4E4C48
Tritanopia (blue-blind)
#871B34
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d254a;
/* rgb */ color: rgb(125, 37, 74);
/* oklch */ color: oklch(41.2% 0.126 358.4);
Tailwind
colors: {
  custom: {
    50: '#a7667c',
    500: '#7d254a',
    950: '#000000',
  },
}
SCSS
$custom: #7d254a;
$custom-light: #a7667c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d254a",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 334.773,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41183,
    "c": 0.12605,
    "h": 358.4
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#7D254A
secondary
#4FAF87
accent
#DEA04A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D254A

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

Preview Lab → · Contrast checker → · Palette generator →

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