#7F235B#7F235B

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

Color values

HEX#7F235B
RGBrgb(127, 35, 91)
HSLhsl(323, 57%, 32%)
HSVhsv(323, 72%, 50%)
CMYKcmyk(0%, 72.4%, 28.3%, 50.2%)
CIE-LABlab(30.57, 44.71, -11.57)
CIE-LCHlch(30.57, 46.18, 345.49°)
OKLaboklab(41.98% 0.1357 -0.0305)
OKLCHoklch(41.98% 0.139 347.3)
XYZxyz(11.2423, 6.4706, 10.5524)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F235B #237F47
analogous
#75237F #7F235B #7F232D
triadic
#7F235B #5B7F23 #235B7F
tetradic
#7F235B #7F7523 #237F47 #232D7F
square
#7F235B #7F7523 #237F47 #232D7F
split-complementary
#7F235B #2D7F23 #237F75
monochromatic
#1F0916 #4F1639 #7F235B #AF307D #CE4E9C

Accessibility & contrast

On white

9.16
#7F235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F235B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F235B#FFFFFF#000000##FFFFFF
##7F235B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#4A4E59
Tritanopia (blue-blind)
#88203B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f235b;
/* rgb */ color: rgb(127, 35, 91);
/* oklch */ color: oklch(42.0% 0.139 347.3);
Tailwind
colors: {
  custom: {
    50: '#a86689',
    500: '#7f235b',
    950: '#000000',
  },
}
SCSS
$custom: #7f235b;
$custom-light: #a86689;
$custom-dark: #000000;
JSON
{
  "hex": "#7f235b",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 323.478,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.13913,
    "h": 347.3
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#7F235B
secondary
#4CB174
accent
#E08348
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F235B

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

Preview Lab → · Contrast checker → · Palette generator →

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