#7F1855#7F1855

#7F1855 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.149 H 349.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7F1855
RGBrgb(127, 24, 85)
HSLhsl(324, 68%, 30%)
HSVhsv(324, 81%, 50%)
CMYKcmyk(0%, 81.1%, 33.1%, 50.2%)
CIE-LABlab(28.96, 47.78, -10.09)
CIE-LCHlch(28.96, 48.83, 348.07°)
OKLaboklab(40.73% 0.1463 -0.0264)
OKLCHoklch(40.73% 0.149 349.8)
XYZxyz(10.7193, 5.8224, 9.1519)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1855 #187F42
analogous
#76187F #7F1855 #7F1822
triadic
#7F1855 #557F18 #18557F
tetradic
#7F1855 #7F7618 #187F42 #18227F
square
#7F1855 #7F7618 #187F42 #18227F
split-complementary
#7F1855 #227F18 #187F76
monochromatic
#1A0511 #4C0E33 #7F1855 #B22277 #D93898

Accessibility & contrast

On white

9.70
#7F1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1855
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1855#FFFFFF#000000##FFFFFF
##7F18551.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3957
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#891034
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1855;
/* rgb */ color: rgb(127, 24, 85);
/* oklch */ color: oklch(40.7% 0.149 349.8);
Tailwind
colors: {
  custom: {
    50: '#a86185',
    500: '#7f1855',
    950: '#000000',
  },
}
SCSS
$custom: #7f1855;
$custom-light: #a86185;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1855",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 324.466,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.14861,
    "h": 349.8
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7F1855
secondary
#3FB36F
accent
#EB843D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1855

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

Preview Lab → · Contrast checker → · Palette generator →

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