#7D254F#7D254F

#7D254F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.128 H 354.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D254F
RGBrgb(125, 37, 79)
HSLhsl(331, 54%, 32%)
HSVhsv(331, 70%, 49%)
CMYKcmyk(0%, 70.4%, 36.8%, 51%)
CIE-LABlab(30.03, 41.74, -4.57)
CIE-LCHlch(30.03, 41.98, 353.76°)
OKLaboklab(41.37% 0.1277 -0.0115)
OKLCHoklch(41.37% 0.128 354.8)
XYZxyz(10.5309, 6.2488, 8.0472)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D254F #257D53
analogous
#7D257B #7D254F #7D2725
triadic
#7D254F #4F7D25 #254F7D
tetradic
#7D254F #7B7D25 #257D53 #27257D
square
#7D254F #7B7D25 #257D53 #27257D
split-complementary
#7D254F #257D27 #257B7D
monochromatic
#1F0913 #4E1731 #7D254F #AC336D #CB518B

Accessibility & contrast

On white

9.33
#7D254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D254F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D254F#FFFFFF#000000##FFFFFF
##7D254F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#871E36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d254f;
/* rgb */ color: rgb(125, 37, 79);
/* oklch */ color: oklch(41.4% 0.128 354.8);
Tailwind
colors: {
  custom: {
    50: '#a66680',
    500: '#7d254f',
    950: '#000000',
  },
}
SCSS
$custom: #7d254f;
$custom-light: #a66680;
$custom-dark: #000000;
JSON
{
  "hex": "#7d254f",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 331.364,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.12822,
    "h": 354.8
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#7D254F
secondary
#4FAF81
accent
#DE974A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D254F

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

Preview Lab → · Contrast checker → · Palette generator →

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