#7F265E#7F265E

#7F265E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.137 H 345.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7F265E
RGBrgb(127, 38, 94)
HSLhsl(322, 54%, 32%)
HSVhsv(322, 70%, 50%)
CMYKcmyk(0%, 70.1%, 26%, 50.2%)
CIE-LABlab(31.13, 43.90, -12.67)
CIE-LCHlch(31.13, 45.69, 343.91°)
OKLaboklab(42.44% 0.1327 -0.0336)
OKLCHoklch(42.44% 0.137 345.8)
XYZxyz(11.4663, 6.7076, 11.2783)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F265E #267F47
analogous
#73267F #7F265E #7F2632
triadic
#7F265E #5E7F26 #265E7F
tetradic
#7F265E #7F7326 #267F47 #26327F
square
#7F265E #7F7326 #267F47 #26327F
split-complementary
#7F265E #327F26 #267F73
monochromatic
#210A18 #50183B #7F265E #AE3481 #CC549F

Accessibility & contrast

On white

8.97
#7F265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F265E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F265E#FFFFFF#000000##FFFFFF
##7F265E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304060
Deuteranopia (green-blind)
#4A4F5C
Tritanopia (blue-blind)
#88243E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f265e;
/* rgb */ color: rgb(127, 38, 94);
/* oklch */ color: oklch(42.4% 0.137 345.8);
Tailwind
colors: {
  custom: {
    50: '#a7688b',
    500: '#7f265e',
    950: '#000000',
  },
}
SCSS
$custom: #7f265e;
$custom-light: #a7688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f265e",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 322.247,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.13691,
    "h": 345.8
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#7F265E
secondary
#51B074
accent
#DD814A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F265E

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

Preview Lab → · Contrast checker → · Palette generator →

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