#7E253F#7E253F

#7E253F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.124 H 6.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E253F
RGBrgb(126, 37, 63)
HSLhsl(342, 55%, 32%)
HSVhsv(342, 71%, 49%)
CMYKcmyk(0%, 70.6%, 50%, 50.6%)
CIE-LABlab(29.71, 40.30, 5.57)
CIE-LCHlch(29.71, 40.68, 7.87°)
OKLaboklab(41% 0.1228 0.0146)
OKLCHoklch(41% 0.124 6.8)
XYZxyz(10.1638, 6.1189, 5.3475)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E253F #257E64
analogous
#7E256C #7E253F #7E3825
triadic
#7E253F #3F7E25 #253F7E
tetradic
#7E253F #6C7E25 #257E64 #38257E
square
#7E253F #6C7E25 #257E64 #38257E
split-complementary
#7E253F #257E38 #256C7E
monochromatic
#1F0910 #4F1727 #7E253F #AD3357 #CC5175

Accessibility & contrast

On white

9.44
#7E253F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E253F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E253F#FFFFFF#000000##FFFFFF
##7E253F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B40
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#89162F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e253f;
/* rgb */ color: rgb(126, 37, 63);
/* oklch */ color: oklch(41.0% 0.124 6.8);
Tailwind
colors: {
  custom: {
    50: '#a86673',
    500: '#7e253f',
    950: '#000000',
  },
}
SCSS
$custom: #7e253f;
$custom-light: #a86673;
$custom-dark: #000000;
JSON
{
  "hex": "#7e253f",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 63
  },
  "hsl": {
    "h": 342.472,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.12366,
    "h": 6.8
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#7E253F
secondary
#4FB094
accent
#DEB34A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E253F

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

Preview Lab → · Contrast checker → · Palette generator →

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