#7F1968#7F1968

#7F1968 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.159 H 339.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F1968
RGBrgb(127, 25, 104)
HSLhsl(314, 67%, 30%)
HSVhsv(314, 80%, 50%)
CMYKcmyk(0%, 80.3%, 18.1%, 50.2%)
CIE-LABlab(29.93, 50.03, -20.98)
CIE-LCHlch(29.93, 54.25, 337.25°)
OKLaboklab(41.71% 0.1489 -0.0568)
OKLCHoklch(41.71% 0.159 339.1)
XYZxyz(11.5990, 6.2079, 13.6814)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1968 #197F30
analogous
#63197F #7F1968 #7F1935
triadic
#7F1968 #687F19 #19687F
tetradic
#7F1968 #7F6319 #197F30 #19357F
square
#7F1968 #7F6319 #197F30 #19357F
split-complementary
#7F1968 #357F19 #197F63
monochromatic
#1A0515 #4C0F3E #7F1968 #B22392 #D83AB5

Accessibility & contrast

On white

9.37
#7F1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1968
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1968#FFFFFF#000000##FFFFFF
##7F19681.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#871E3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1968;
/* rgb */ color: rgb(127, 25, 104);
/* oklch */ color: oklch(41.7% 0.159 339.1);
Tailwind
colors: {
  custom: {
    50: '#a86293',
    500: '#7f1968',
    950: '#000000',
  },
}
SCSS
$custom: #7f1968;
$custom-light: #a86293;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1968",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 313.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.15936,
    "h": 339.1
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#7F1968
secondary
#41B35A
accent
#EA653E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F1968

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

Preview Lab → · Contrast checker → · Palette generator →

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