#7F235A#7F235A

#7F235A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.139 H 348.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7F235A
RGBrgb(127, 35, 90)
HSLhsl(324, 57%, 32%)
HSVhsv(324, 72%, 50%)
CMYKcmyk(0%, 72.4%, 29.1%, 50.2%)
CIE-LABlab(30.53, 44.57, -10.99)
CIE-LCHlch(30.53, 45.90, 346.15°)
OKLaboklab(41.94% 0.1355 -0.0289)
OKLCHoklch(41.94% 0.139 348)
XYZxyz(11.1994, 6.4535, 10.3267)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F235A #237F48
analogous
#76237F #7F235A #7F232C
triadic
#7F235A #5A7F23 #235A7F
tetradic
#7F235A #7F7623 #237F48 #232C7F
square
#7F235A #7F7623 #237F48 #232C7F
split-complementary
#7F235A #2C7F23 #237F76
monochromatic
#1F0916 #4F1638 #7F235A #AF307C #CE4E9B

Accessibility & contrast

On white

9.17
#7F235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F235A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F235A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F235A#FFFFFF#000000##FFFFFF
##7F235A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#4A4E58
Tritanopia (blue-blind)
#88203B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f235a;
/* rgb */ color: rgb(127, 35, 90);
/* oklch */ color: oklch(41.9% 0.139 348.0);
Tailwind
colors: {
  custom: {
    50: '#a86688',
    500: '#7f235a',
    950: '#000000',
  },
}
SCSS
$custom: #7f235a;
$custom-light: #a86688;
$custom-dark: #000000;
JSON
{
  "hex": "#7f235a",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 324.13,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.13853,
    "h": 348
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#7F235A
secondary
#4CB175
accent
#E08548
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F235A

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

Preview Lab → · Contrast checker → · Palette generator →

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