#7F2045#7F2045

#7F2045 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.133 H 1.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7F2045
RGBrgb(127, 32, 69)
HSLhsl(337, 60%, 31%)
HSVhsv(337, 75%, 50%)
CMYKcmyk(0%, 74.8%, 45.7%, 50.2%)
CIE-LABlab(29.35, 43.23, 1.09)
CIE-LCHlch(29.35, 43.25, 1.45°)
OKLaboklab(40.83% 0.1325 0.0033)
OKLCHoklch(40.83% 0.133 1.4)
XYZxyz(10.3439, 5.9761, 6.2379)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2045 #207F5A
analogous
#7F2074 #7F2045 #7F2B20
triadic
#7F2045 #457F20 #20457F
tetradic
#7F2045 #747F20 #207F5A #2B207F
square
#7F2045 #747F20 #207F5A #2B207F
split-complementary
#7F2045 #207F2B #20747F
monochromatic
#1D0710 #4E142A #7F2045 #B02C60 #D1487E

Accessibility & contrast

On white

9.57
#7F2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2045
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2045#FFFFFF#000000##FFFFFF
##7F20451.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353946
Deuteranopia (green-blind)
#4E4C43
Tritanopia (blue-blind)
#8A1130
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2045;
/* rgb */ color: rgb(127, 32, 69);
/* oklch */ color: oklch(40.8% 0.133 1.4);
Tailwind
colors: {
  custom: {
    50: '#a96478',
    500: '#7f2045',
    950: '#000000',
  },
}
SCSS
$custom: #7f2045;
$custom-light: #a96478;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2045",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 336.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.13256,
    "h": 1.4
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#7F2045
secondary
#49B289
accent
#E3A545
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2045

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

Preview Lab → · Contrast checker → · Palette generator →

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