#35172F#35172F

#35172F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 25.8% C 0.061 H 335.2°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#35172F
RGBrgb(53, 23, 47)
HSLhsl(312, 39%, 15%)
HSVhsv(312, 57%, 21%)
CMYKcmyk(0%, 56.6%, 11.3%, 79.2%)
CIE-LABlab(13.08, 19.03, -9.40)
CIE-LCHlch(13.08, 21.22, 333.70°)
OKLaboklab(25.84% 0.055 -0.0254)
OKLCHoklch(25.84% 0.061 335.2)
XYZxyz(2.2877, 1.5751, 2.8723)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35172F #17351D
analogous
#2C1735 #35172F #351720
triadic
#35172F #2F3517 #172F35
tetradic
#35172F #352C17 #17351D #172035
square
#35172F #352C17 #17351D #172035
split-complementary
#35172F #203517 #17352C
monochromatic
#150913 #150913 #35172F #602A55 #8A3C7B

Accessibility & contrast

On white

15.97
#35172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#35172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35172F
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35172F#FFFFFF#000000##FFFFFF
##35172F1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#1F232E
Tritanopia (blue-blind)
#381820
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #35172f;
/* rgb */ color: rgb(53, 23, 47);
/* oklch */ color: oklch(25.8% 0.061 335.2);
Tailwind
colors: {
  custom: {
    50: '#6d5567',
    500: '#35172f',
    950: '#000000',
  },
}
SCSS
$custom: #35172f;
$custom-light: #6d5567;
$custom-dark: #000000;
JSON
{
  "hex": "#35172f",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 312,
    "s": 39.474,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2584,
    "c": 0.0606,
    "h": 335.2
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#35172F
secondary
#3D6B46
accent
#CF7058
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #35172F

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

Preview Lab → · Contrast checker → · Palette generator →

#35172F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva