#7F2245#7F2245

#7F2245 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.130 H 1.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7F2245
RGBrgb(127, 34, 69)
HSLhsl(337, 58%, 32%)
HSVhsv(337, 73%, 50%)
CMYKcmyk(0%, 73.2%, 45.7%, 50.2%)
CIE-LABlab(29.63, 42.46, 1.50)
CIE-LCHlch(29.63, 42.48, 2.02°)
OKLaboklab(41.03% 0.13 0.0043)
OKLCHoklch(41.03% 0.13 1.9)
XYZxyz(10.3994, 6.0871, 6.2564)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2245 #227F5C
analogous
#7F2274 #7F2245 #7F2D22
triadic
#7F2245 #457F22 #22457F
tetradic
#7F2245 #747F22 #227F5C #2D227F
square
#7F2245 #747F22 #227F5C #2D227F
split-complementary
#7F2245 #227F2D #22747F
monochromatic
#1E0811 #4F152B #7F2245 #AF2F5F #CF4C7E

Accessibility & contrast

On white

9.47
#7F2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2245
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2245#FFFFFF#000000##FFFFFF
##7F22451.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#8A1431
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2245;
/* rgb */ color: rgb(127, 34, 69);
/* oklch */ color: oklch(41.0% 0.130 1.9);
Tailwind
colors: {
  custom: {
    50: '#a96578',
    500: '#7f2245',
    950: '#000000',
  },
}
SCSS
$custom: #7f2245;
$custom-light: #a96578;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2245",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 337.419,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41033,
    "c": 0.1301,
    "h": 1.9
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#7F2245
secondary
#4BB28B
accent
#E1A747
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F2245

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

Preview Lab → · Contrast checker → · Palette generator →

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