#7F2264#7F2264

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

Color values

HEX#7F2264
RGBrgb(127, 34, 100)
HSLhsl(317, 58%, 32%)
HSVhsv(317, 73%, 50%)
CMYKcmyk(0%, 73.2%, 21.3%, 50.2%)
CIE-LABlab(30.82, 46.36, -17.02)
CIE-LCHlch(30.82, 49.39, 339.85°)
OKLaboklab(42.3% 0.1389 -0.0457)
OKLCHoklch(42.3% 0.146 341.8)
XYZxyz(11.6250, 6.5773, 12.7114)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2264 #227F3D
analogous
#6C227F #7F2264 #7F2236
triadic
#7F2264 #647F22 #22647F
tetradic
#7F2264 #7F6C22 #227F3D #22367F
square
#7F2264 #7F6C22 #227F3D #22367F
split-complementary
#7F2264 #367F22 #227F6C
monochromatic
#1E0818 #4F153E #7F2264 #AF2F8A #CF4CA9

Accessibility & contrast

On white

9.07
#7F2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2264
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2264#FFFFFF#000000##FFFFFF
##7F22641.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F66
Deuteranopia (green-blind)
#474E62
Tritanopia (blue-blind)
#872340
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2264;
/* rgb */ color: rgb(127, 34, 100);
/* oklch */ color: oklch(42.3% 0.146 341.8);
Tailwind
colors: {
  custom: {
    50: '#a76690',
    500: '#7f2264',
    950: '#000000',
  },
}
SCSS
$custom: #7f2264;
$custom-light: #a76690;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2264",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 317.419,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.14623,
    "h": 341.8
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#7F2264
secondary
#4BB269
accent
#E17447
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F2264

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

Preview Lab → · Contrast checker → · Palette generator →

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