#7E264B#7E264B

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

Color values

HEX#7E264B
RGBrgb(126, 38, 75)
HSLhsl(335, 54%, 32%)
HSVhsv(335, 70%, 49%)
CMYKcmyk(0%, 69.8%, 40.5%, 50.6%)
CIE-LABlab(30.23, 41.15, -1.61)
CIE-LCHlch(30.23, 41.18, 357.75°)
OKLaboklab(41.51% 0.126 -0.0037)
OKLCHoklch(41.51% 0.126 358.3)
XYZxyz(10.5680, 6.3311, 7.3207)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E264B #267E59
analogous
#7E2677 #7E264B #7E2D26
triadic
#7E264B #4B7E26 #264B7E
tetradic
#7E264B #777E26 #267E59 #2D267E
square
#7E264B #777E26 #267E59 #2D267E
split-complementary
#7E264B #267E2D #26777E
monochromatic
#200A13 #4F182F #7E264B #AD3467 #CB5386

Accessibility & contrast

On white

9.27
#7E264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E264B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E264B#FFFFFF#000000##FFFFFF
##7E264B1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4C
Deuteranopia (green-blind)
#4F4D49
Tritanopia (blue-blind)
#881D35
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e264b;
/* rgb */ color: rgb(126, 38, 75);
/* oklch */ color: oklch(41.5% 0.126 358.3);
Tailwind
colors: {
  custom: {
    50: '#a7677d',
    500: '#7e264b',
    950: '#000000',
  },
}
SCSS
$custom: #7e264b;
$custom-light: #a7677d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e264b",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 334.773,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.12605,
    "h": 358.3
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#7E264B
secondary
#50B087
accent
#DDA04B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E264B

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

Preview Lab → · Contrast checker → · Palette generator →

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