#7F1255#7F1255

#7F1255 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.154 H 349.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7F1255
RGBrgb(127, 18, 85)
HSLhsl(323, 75%, 28%)
HSVhsv(323, 86%, 50%)
CMYKcmyk(0%, 85.8%, 33.1%, 50.2%)
CIE-LABlab(28.38, 49.43, -10.97)
CIE-LCHlch(28.38, 50.63, 347.49°)
OKLaboklab(40.31% 0.1515 -0.0287)
OKLCHoklch(40.31% 0.154 349.3)
XYZxyz(10.6090, 5.6018, 9.1151)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1255 #127F3C
analogous
#72127F #7F1255 #7F121F
triadic
#7F1255 #557F12 #12557F
tetradic
#7F1255 #7F7212 #127F3C #121F7F
square
#7F1255 #7F7212 #127F3C #121F7F
split-complementary
#7F1255 #1F7F12 #127F72
monochromatic
#1B0412 #490A31 #7F1255 #B51A79 #E12B9B

Accessibility & contrast

On white

9.90
#7F1255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1255
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1255#FFFFFF#000000##FFFFFF
##7F12551.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273757
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#890833
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1255;
/* rgb */ color: rgb(127, 18, 85);
/* oklch */ color: oklch(40.3% 0.154 349.3);
Tailwind
colors: {
  custom: {
    50: '#a85f85',
    500: '#7f1255',
    950: '#000000',
  },
}
SCSS
$custom: #7f1255;
$custom-light: #a85f85;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1255",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 323.119,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.15415,
    "h": 349.3
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#7F1255
secondary
#38B568
accent
#F27E36
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1255

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

Preview Lab → · Contrast checker → · Palette generator →

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