#7E253C#7E253C

#7E253C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 40.9% C 0.123 H 9.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E253C
RGBrgb(126, 37, 60)
HSLhsl(344, 55%, 32%)
HSVhsv(344, 71%, 49%)
CMYKcmyk(0%, 70.6%, 52.4%, 50.6%)
CIE-LABlab(29.63, 40.01, 7.45)
CIE-LCHlch(29.63, 40.70, 10.54°)
OKLaboklab(40.91% 0.1216 0.0192)
OKLCHoklch(40.91% 0.123 9)
XYZxyz(10.0822, 6.0863, 4.9179)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E253C #257E67
analogous
#7E2569 #7E253C #7E3A25
triadic
#7E253C #3C7E25 #253C7E
tetradic
#7E253C #697E25 #257E67 #3A257E
square
#7E253C #697E25 #257E67 #3A257E
split-complementary
#7E253C #257E3A #25697E
monochromatic
#1F090F #4F1725 #7E253C #AD3353 #CC5171

Accessibility & contrast

On white

9.47
#7E253C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E253C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E253C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E253C#FFFFFF#000000##FFFFFF
##7E253C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3C
Deuteranopia (green-blind)
#514C3A
Tritanopia (blue-blind)
#8A152E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e253c;
/* rgb */ color: rgb(126, 37, 60);
/* oklch */ color: oklch(40.9% 0.123 9.0);
Tailwind
colors: {
  custom: {
    50: '#a86671',
    500: '#7e253c',
    950: '#000000',
  },
}
SCSS
$custom: #7e253c;
$custom-light: #a86671;
$custom-dark: #000000;
JSON
{
  "hex": "#7e253c",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 60
  },
  "hsl": {
    "h": 344.494,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.12308,
    "h": 9
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7E253C
secondary
#4FB097
accent
#DEB84A
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E253C

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

Preview Lab → · Contrast checker → · Palette generator →

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