#9D235E#9D235E

#9D235E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 356.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9D235E
RGBrgb(157, 35, 94)
HSLhsl(331, 64%, 38%)
HSVhsv(331, 78%, 62%)
CMYKcmyk(0%, 77.7%, 40.1%, 38.4%)
CIE-LABlab(36.33, 53.52, -4.29)
CIE-LCHlch(36.33, 53.69, 355.42°)
OKLaboklab(47.28% 0.1645 -0.0106)
OKLCHoklch(47.28% 0.165 356.3)
XYZxyz(16.5272, 9.1804, 11.4892)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D235E #239D62
analogous
#9D239B #9D235E #9D2523
triadic
#9D235E #5E9D23 #235E9D
tetradic
#9D235E #9B9D23 #239D62 #25239D
square
#9D235E #9B9D23 #239D62 #25239D
split-complementary
#9D235E #239D25 #239B9D
monochromatic
#390D22 #6B1840 #9D235E #CF2E7C #DB5F9B

Accessibility & contrast

On white

7.41
#9D235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9D235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D235E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D235E#FFFFFF#000000##FFFFFF
##9D235E1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#5E5E5B
Tritanopia (blue-blind)
#AA113D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d235e;
/* rgb */ color: rgb(157, 35, 94);
/* oklch */ color: oklch(47.3% 0.165 356.3);
Tailwind
colors: {
  custom: {
    50: '#bf6b8b',
    500: '#9d235e',
    950: '#000000',
  },
}
SCSS
$custom: #9d235e;
$custom-light: #bf6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d235e",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 330.984,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.16482,
    "h": 356.3
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

primary
#9D235E
secondary
#5CC090
accent
#E79741
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D235E

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

Preview Lab → · Contrast checker → · Palette generator →

#9D235E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva