#7F233B#7F233B

#7F233B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.126 H 9.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7F233B
RGBrgb(127, 35, 59)
HSLhsl(344, 57%, 32%)
HSVhsv(344, 72%, 50%)
CMYKcmyk(0%, 72.4%, 53.5%, 50.2%)
CIE-LABlab(29.49, 41.09, 7.94)
CIE-LCHlch(29.49, 41.85, 10.94°)
OKLaboklab(40.84% 0.1248 0.0204)
OKLCHoklch(40.84% 0.126 9.3)
XYZxyz(10.1437, 6.0312, 4.7668)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F233B #237F67
analogous
#7F2369 #7F233B #7F3923
triadic
#7F233B #3B7F23 #233B7F
tetradic
#7F233B #697F23 #237F67 #39237F
square
#7F233B #697F23 #237F67 #39237F
split-complementary
#7F233B #237F39 #23697F
monochromatic
#1F090E #4F1625 #7F233B #AF3051 #CE4E70

Accessibility & contrast

On white

9.52
#7F233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F233B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F233B#FFFFFF#000000##FFFFFF
##7F233B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3B
Deuteranopia (green-blind)
#514C39
Tritanopia (blue-blind)
#8B112D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f233b;
/* rgb */ color: rgb(127, 35, 59);
/* oklch */ color: oklch(40.8% 0.126 9.3);
Tailwind
colors: {
  custom: {
    50: '#a96570',
    500: '#7f233b',
    950: '#000000',
  },
}
SCSS
$custom: #7f233b;
$custom-light: #a96570;
$custom-dark: #000000;
JSON
{
  "hex": "#7f233b",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 344.348,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.12645,
    "h": 9.3
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#7F233B
secondary
#4CB197
accent
#E0B848
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F233B

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

Preview Lab → · Contrast checker → · Palette generator →

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