#7F2853#7F2853

#7F2853 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.128 H 353.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7F2853
RGBrgb(127, 40, 83)
HSLhsl(330, 52%, 33%)
HSVhsv(330, 69%, 50%)
CMYKcmyk(0%, 68.5%, 34.6%, 50.2%)
CIE-LABlab(31.01, 41.57, -5.69)
CIE-LCHlch(31.01, 41.96, 352.20°)
OKLaboklab(42.21% 0.127 -0.0145)
OKLCHoklch(42.21% 0.128 353.5)
XYZxyz(11.0731, 6.6554, 8.8834)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2853 #287F54
analogous
#7F287E #7F2853 #7F2828
triadic
#7F2853 #537F28 #28537F
tetradic
#7F2853 #7E7F28 #287F54 #28287F
square
#7F2853 #7E7F28 #287F54 #28287F
split-complementary
#7F2853 #287F28 #287E7F
monochromatic
#220B16 #501935 #7F2853 #AE3771 #CA5790

Accessibility & contrast

On white

9.01
#7F2853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F2853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2853
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2853#FFFFFF#000000##FFFFFF
##7F28531.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F54
Deuteranopia (green-blind)
#4E4F51
Tritanopia (blue-blind)
#89223A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2853;
/* rgb */ color: rgb(127, 40, 83);
/* oklch */ color: oklch(42.2% 0.128 353.5);
Tailwind
colors: {
  custom: {
    50: '#a86883',
    500: '#7f2853',
    950: '#000000',
  },
}
SCSS
$custom: #7f2853;
$custom-light: #a86883;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2853",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 330.345,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.1278,
    "h": 353.5
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#7F2853
secondary
#54AF82
accent
#DC954C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F2853

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

Preview Lab → · Contrast checker → · Palette generator →

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