#7F264E#7F264E

#7F264E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.128 H 356.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7F264E
RGBrgb(127, 38, 78)
HSLhsl(333, 54%, 32%)
HSVhsv(333, 70%, 50%)
CMYKcmyk(0%, 70.1%, 38.6%, 50.2%)
CIE-LABlab(30.52, 41.82, -3.14)
CIE-LCHlch(30.52, 41.94, 355.70°)
OKLaboklab(41.79% 0.128 -0.0077)
OKLCHoklch(41.79% 0.128 356.5)
XYZxyz(10.8213, 6.4496, 7.8813)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F264E #267F57
analogous
#7F267A #7F264E #7F2B26
triadic
#7F264E #4E7F26 #264E7F
tetradic
#7F264E #7A7F26 #267F57 #2B267F
square
#7F264E #7A7F26 #267F57 #2B267F
split-complementary
#7F264E #267F2B #267A7F
monochromatic
#210A14 #501831 #7F264E #AE346B #CC548A

Accessibility & contrast

On white

9.17
#7F264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F264E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F264E#FFFFFF#000000##FFFFFF
##7F264E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#891E37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f264e;
/* rgb */ color: rgb(127, 38, 78);
/* oklch */ color: oklch(41.8% 0.128 356.5);
Tailwind
colors: {
  custom: {
    50: '#a8677f',
    500: '#7f264e',
    950: '#000000',
  },
}
SCSS
$custom: #7f264e;
$custom-light: #a8677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f264e",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 333.034,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.12826,
    "h": 356.5
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#7F264E
secondary
#51B085
accent
#DD9B4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F264E

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

Preview Lab → · Contrast checker → · Palette generator →

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