#9A315E#9A315E

#9A315E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.146 H 357.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9A315E
RGBrgb(154, 49, 94)
HSLhsl(334, 52%, 40%)
HSVhsv(334, 68%, 60%)
CMYKcmyk(0%, 68.2%, 39%, 39.6%)
CIE-LABlab(37.62, 47.50, -2.44)
CIE-LCHlch(37.62, 47.56, 357.06°)
OKLaboklab(48.13% 0.1454 -0.0058)
OKLCHoklch(48.13% 0.146 357.7)
XYZxyz(16.4462, 9.8767, 11.6278)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A315E #319A6D
analogous
#9A3192 #9A315E #9A3931
triadic
#9A315E #5E9A31 #315E9A
tetradic
#9A315E #929A31 #319A6D #39319A
square
#9A315E #929A31 #319A6D #39319A
split-complementary
#9A315E #319A39 #31929A
monochromatic
#3D1325 #6C2242 #9A315E #C4457B #D2739C

Accessibility & contrast

On white

7.06
#9A315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A315E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A315E#FFFFFF#000000##FFFFFF
##9A315E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#61605C
Tritanopia (blue-blind)
#A62643
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a315e;
/* rgb */ color: rgb(154, 49, 94);
/* oklch */ color: oklch(48.1% 0.146 357.7);
Tailwind
colors: {
  custom: {
    50: '#bc708b',
    500: '#9a315e',
    950: '#000000',
  },
}
SCSS
$custom: #9a315e;
$custom-light: #bc708b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a315e",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 334.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.14552,
    "h": 357.7
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#9A315E
secondary
#6CBA99
accent
#DB9E4D
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #9A315E

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

Preview Lab → · Contrast checker → · Palette generator →

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