#7F235D#7F235D

#7F235D is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.140 H 346.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7F235D
RGBrgb(127, 35, 93)
HSLhsl(322, 57%, 32%)
HSVhsv(322, 72%, 50%)
CMYKcmyk(0%, 72.4%, 26.8%, 50.2%)
CIE-LABlab(30.65, 44.98, -12.75)
CIE-LCHlch(30.65, 46.75, 344.18°)
OKLaboklab(42.07% 0.1362 -0.0338)
OKLCHoklch(42.07% 0.14 346.1)
XYZxyz(11.3297, 6.5056, 11.0128)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F235D #237F45
analogous
#73237F #7F235D #7F232F
triadic
#7F235D #5D7F23 #235D7F
tetradic
#7F235D #7F7323 #237F45 #232F7F
square
#7F235D #7F7323 #237F45 #232F7F
split-complementary
#7F235D #2F7F23 #237F73
monochromatic
#1F0917 #4F163A #7F235D #AF3080 #CE4E9F

Accessibility & contrast

On white

9.13
#7F235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F235D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F235D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F235D#FFFFFF#000000##FFFFFF
##7F235D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#88213C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f235d;
/* rgb */ color: rgb(127, 35, 93);
/* oklch */ color: oklch(42.1% 0.140 346.1);
Tailwind
colors: {
  custom: {
    50: '#a8668b',
    500: '#7f235d',
    950: '#000000',
  },
}
SCSS
$custom: #7f235d;
$custom-light: #a8668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f235d",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 322.174,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.14035,
    "h": 346.1
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#7F235D
secondary
#4CB172
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F235D

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

Preview Lab → · Contrast checker → · Palette generator →

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