#7E254E#7E254E

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

Color values

HEX#7E254E
RGBrgb(126, 37, 78)
HSLhsl(332, 55%, 32%)
HSVhsv(332, 71%, 49%)
CMYKcmyk(0%, 70.6%, 38.1%, 50.6%)
CIE-LABlab(30.18, 41.93, -3.67)
CIE-LCHlch(30.18, 42.09, 355.00°)
OKLaboklab(41.5% 0.1284 -0.0091)
OKLCHoklch(41.5% 0.129 355.9)
XYZxyz(10.6416, 6.3101, 7.8638)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E254E #257E55
analogous
#7E257A #7E254E #7E2925
triadic
#7E254E #4E7E25 #254E7E
tetradic
#7E254E #7A7E25 #257E55 #29257E
square
#7E254E #7A7E25 #257E55 #29257E
split-complementary
#7E254E #257E29 #257A7E
monochromatic
#1F0913 #4F1731 #7E254E #AD336B #CC518A

Accessibility & contrast

On white

9.28
#7E254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E254E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E254E#FFFFFF#000000##FFFFFF
##7E254E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e254e;
/* rgb */ color: rgb(126, 37, 78);
/* oklch */ color: oklch(41.5% 0.129 355.9);
Tailwind
colors: {
  custom: {
    50: '#a7677f',
    500: '#7e254e',
    950: '#000000',
  },
}
SCSS
$custom: #7e254e;
$custom-light: #a7677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e254e",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 332.36,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.12869,
    "h": 355.9
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#7E254E
secondary
#4FB083
accent
#DE9A4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E254E

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

Preview Lab → · Contrast checker → · Palette generator →

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