#7F2263#7F2263

#7F2263 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 342.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7F2263
RGBrgb(127, 34, 99)
HSLhsl(318, 58%, 32%)
HSVhsv(318, 73%, 50%)
CMYKcmyk(0%, 73.2%, 22%, 50.2%)
CIE-LABlab(30.78, 46.22, -16.44)
CIE-LCHlch(30.78, 49.05, 340.42°)
OKLaboklab(42.25% 0.1387 -0.0441)
OKLCHoklch(42.25% 0.146 342.4)
XYZxyz(11.5769, 6.5581, 12.4581)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2263 #227F3E
analogous
#6D227F #7F2263 #7F2234
triadic
#7F2263 #637F22 #22637F
tetradic
#7F2263 #7F6D22 #227F3E #22347F
square
#7F2263 #7F6D22 #227F3E #22347F
split-complementary
#7F2263 #347F22 #227F6D
monochromatic
#1E0818 #4F153D #7F2263 #AF2F89 #CF4CA8

Accessibility & contrast

On white

9.09
#7F2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2263
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2263#FFFFFF#000000##FFFFFF
##7F22631.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F65
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#87233F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2263;
/* rgb */ color: rgb(127, 34, 99);
/* oklch */ color: oklch(42.3% 0.146 342.4);
Tailwind
colors: {
  custom: {
    50: '#a7668f',
    500: '#7f2263',
    950: '#000000',
  },
}
SCSS
$custom: #7f2263;
$custom-light: #a7668f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2263",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 318.065,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.14555,
    "h": 342.4
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#7F2263
secondary
#4BB26A
accent
#E17547
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F2263

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

Preview Lab → · Contrast checker → · Palette generator →

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