#7E254A#7E254A

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

Color values

HEX#7E254A
RGBrgb(126, 37, 74)
HSLhsl(335, 55%, 32%)
HSVhsv(335, 71%, 49%)
CMYKcmyk(0%, 70.6%, 41.3%, 50.6%)
CIE-LABlab(30.05, 41.46, -1.23)
CIE-LCHlch(30.05, 41.48, 358.30°)
OKLaboklab(41.36% 0.127 -0.0027)
OKLCHoklch(41.36% 0.127 358.8)
XYZxyz(10.5025, 6.2544, 7.1314)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E254A #257E59
analogous
#7E2577 #7E254A #7E2D25
triadic
#7E254A #4A7E25 #254A7E
tetradic
#7E254A #777E25 #257E59 #2D257E
square
#7E254A #777E25 #257E59 #2D257E
split-complementary
#7E254A #257E2D #25777E
monochromatic
#1F0912 #4F172E #7E254A #AD3366 #CC5184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E254A#FFFFFF#000000##FFFFFF
##7E254A1.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)
#363C4B
Deuteranopia (green-blind)
#4E4D48
Tritanopia (blue-blind)
#891B34
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e254a;
/* rgb */ color: rgb(126, 37, 74);
/* oklch */ color: oklch(41.4% 0.127 358.8);
Tailwind
colors: {
  custom: {
    50: '#a7667c',
    500: '#7e254a',
    950: '#000000',
  },
}
SCSS
$custom: #7e254a;
$custom-light: #a7667c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e254a",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 335.056,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.12702,
    "h": 358.8
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E254A

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

Preview Lab → · Contrast checker → · Palette generator →

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