#7F265B#7F265B

#7F265B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.135 H 347.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7F265B
RGBrgb(127, 38, 91)
HSLhsl(324, 54%, 32%)
HSVhsv(324, 70%, 50%)
CMYKcmyk(0%, 70.1%, 28.3%, 50.2%)
CIE-LABlab(31.01, 43.49, -10.91)
CIE-LCHlch(31.01, 44.83, 345.92°)
OKLaboklab(42.31% 0.132 -0.0287)
OKLCHoklch(42.31% 0.135 347.7)
XYZxyz(11.3343, 6.6548, 10.5831)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F265B #267F4A
analogous
#77267F #7F265B #7F262E
triadic
#7F265B #5B7F26 #265B7F
tetradic
#7F265B #7F7726 #267F4A #262E7F
square
#7F265B #7F7726 #267F4A #262E7F
split-complementary
#7F265B #2E7F26 #267F77
monochromatic
#210A17 #501839 #7F265B #AE347D #CC549B

Accessibility & contrast

On white

9.01
#7F265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F265B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F265B#FFFFFF#000000##FFFFFF
##7F265B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#4B4F59
Tritanopia (blue-blind)
#88233D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f265b;
/* rgb */ color: rgb(127, 38, 91);
/* oklch */ color: oklch(42.3% 0.135 347.7);
Tailwind
colors: {
  custom: {
    50: '#a76889',
    500: '#7f265b',
    950: '#000000',
  },
}
SCSS
$custom: #7f265b;
$custom-light: #a76889;
$custom-dark: #000000;
JSON
{
  "hex": "#7f265b",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 324.27,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.13505,
    "h": 347.7
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#7F265B
secondary
#51B077
accent
#DD864A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F265B

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

Preview Lab → · Contrast checker → · Palette generator →

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