#7E254D#7E254D

#7E254D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.128 H 356.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7E254D
RGBrgb(126, 37, 77)
HSLhsl(333, 55%, 32%)
HSVhsv(333, 71%, 49%)
CMYKcmyk(0%, 70.6%, 38.9%, 50.6%)
CIE-LABlab(30.15, 41.81, -3.06)
CIE-LCHlch(30.15, 41.92, 355.82°)
OKLaboklab(41.46% 0.128 -0.0075)
OKLCHoklch(41.46% 0.128 356.6)
XYZxyz(10.6060, 6.2958, 7.6764)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E254D #257E56
analogous
#7E257A #7E254D #7E2A25
triadic
#7E254D #4D7E25 #254D7E
tetradic
#7E254D #7A7E25 #257E56 #2A257E
square
#7E254D #7A7E25 #257E56 #2A257E
split-complementary
#7E254D #257E2A #257A7E
monochromatic
#1F0913 #4F1730 #7E254D #AD336A #CC5188

Accessibility & contrast

On white

9.30
#7E254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E254D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E254D#FFFFFF#000000##FFFFFF
##7E254D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#4E4D4B
Tritanopia (blue-blind)
#881C36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e254d;
/* rgb */ color: rgb(126, 37, 77);
/* oklch */ color: oklch(41.5% 0.128 356.6);
Tailwind
colors: {
  custom: {
    50: '#a7677e',
    500: '#7e254d',
    950: '#000000',
  },
}
SCSS
$custom: #7e254d;
$custom-light: #a7677e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e254d",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 333.034,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.12825,
    "h": 356.6
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#7E254D
secondary
#4FB084
accent
#DE9B4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E254D

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

Preview Lab → · Contrast checker → · Palette generator →

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