#7F2269#7F2269

#7F2269 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.150 H 339.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7F2269
RGBrgb(127, 34, 105)
HSLhsl(314, 58%, 32%)
HSVhsv(314, 73%, 50%)
CMYKcmyk(0%, 73.2%, 17.3%, 50.2%)
CIE-LABlab(31.06, 47.11, -19.87)
CIE-LCHlch(31.06, 51.13, 337.13°)
OKLaboklab(42.55% 0.1398 -0.0537)
OKLCHoklch(42.55% 0.15 339)
XYZxyz(11.8745, 6.6771, 14.0253)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2269 #227F38
analogous
#67227F #7F2269 #7F223A
triadic
#7F2269 #697F22 #22697F
tetradic
#7F2269 #7F6722 #227F38 #223A7F
square
#7F2269 #7F6722 #227F38 #223A7F
split-complementary
#7F2269 #3A7F22 #227F67
monochromatic
#1E0819 #4F1541 #7F2269 #AF2F91 #CF4CB0

Accessibility & contrast

On white

8.99
#7F2269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2269
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2269#FFFFFF#000000##FFFFFF
##7F22691.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406B
Deuteranopia (green-blind)
#454E67
Tritanopia (blue-blind)
#862642
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2269;
/* rgb */ color: rgb(127, 34, 105);
/* oklch */ color: oklch(42.5% 0.150 339.0);
Tailwind
colors: {
  custom: {
    50: '#a76694',
    500: '#7f2269',
    950: '#000000',
  },
}
SCSS
$custom: #7f2269;
$custom-light: #a76694;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2269",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 105
  },
  "hsl": {
    "h": 314.194,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.14974,
    "h": 339
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#7F2269
secondary
#4BB263
accent
#E16B47
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F2269

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

Preview Lab → · Contrast checker → · Palette generator →

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