#7D254E#7D254E

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

Color values

HEX#7D254E
RGBrgb(125, 37, 78)
HSLhsl(332, 54%, 32%)
HSVhsv(332, 70%, 49%)
CMYKcmyk(0%, 70.4%, 37.6%, 51%)
CIE-LABlab(30.00, 41.61, -3.96)
CIE-LCHlch(30.00, 41.80, 354.56°)
OKLaboklab(41.33% 0.1274 -0.0099)
OKLCHoklch(41.33% 0.128 355.6)
XYZxyz(10.4948, 6.2344, 7.8569)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D254E #257D54
analogous
#7D257A #7D254E #7D2825
triadic
#7D254E #4E7D25 #254E7D
tetradic
#7D254E #7A7D25 #257D54 #28257D
square
#7D254E #7A7D25 #257D54 #28257D
split-complementary
#7D254E #257D28 #257A7D
monochromatic
#1F0913 #4E1731 #7D254E #AC336B #CB518A

Accessibility & contrast

On white

9.35
#7D254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D254E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D254E#FFFFFF#000000##FFFFFF
##7D254E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d254e;
/* rgb */ color: rgb(125, 37, 78);
/* oklch */ color: oklch(41.3% 0.128 355.6);
Tailwind
colors: {
  custom: {
    50: '#a6667f',
    500: '#7d254e',
    950: '#000000',
  },
}
SCSS
$custom: #7d254e;
$custom-light: #a6667f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d254e",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 332.045,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.12775,
    "h": 355.6
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#7D254E
secondary
#4FAF82
accent
#DE994A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D254E

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

Preview Lab → · Contrast checker → · Palette generator →

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