#7F265A#7F265A

#7F265A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.134 H 348.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7F265A
RGBrgb(127, 38, 90)
HSLhsl(325, 54%, 32%)
HSVhsv(325, 70%, 50%)
CMYKcmyk(0%, 70.1%, 29.1%, 50.2%)
CIE-LABlab(30.97, 43.35, -10.32)
CIE-LCHlch(30.97, 44.56, 346.61°)
OKLaboklab(42.26% 0.1317 -0.0271)
OKLCHoklch(42.26% 0.134 348.4)
XYZxyz(11.2915, 6.6376, 10.3574)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F265A #267F4B
analogous
#78267F #7F265A #7F262E
triadic
#7F265A #5A7F26 #265A7F
tetradic
#7F265A #7F7826 #267F4B #262E7F
square
#7F265A #7F7826 #267F4B #262E7F
split-complementary
#7F265A #2E7F26 #267F78
monochromatic
#210A17 #501839 #7F265A #AE347B #CC549A

Accessibility & contrast

On white

9.02
#7F265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F265A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F265A#FFFFFF#000000##FFFFFF
##7F265A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5B
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#88233C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f265a;
/* rgb */ color: rgb(127, 38, 90);
/* oklch */ color: oklch(42.3% 0.134 348.4);
Tailwind
colors: {
  custom: {
    50: '#a76888',
    500: '#7f265a',
    950: '#000000',
  },
}
SCSS
$custom: #7f265a;
$custom-light: #a76888;
$custom-dark: #000000;
JSON
{
  "hex": "#7f265a",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 324.944,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.13446,
    "h": 348.4
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#7F265A
secondary
#51B078
accent
#DD884A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F265A

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

Preview Lab → · Contrast checker → · Palette generator →

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