#751238#751238

#751238 is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.3% C 0.134 H 4.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#751238
RGBrgb(117, 18, 56)
HSLhsl(337, 73%, 26%)
HSVhsv(337, 85%, 46%)
CMYKcmyk(0%, 84.6%, 52.1%, 54.1%)
CIE-LABlab(25.26, 43.67, 3.71)
CIE-LCHlch(25.26, 43.83, 4.85°)
OKLaboklab(37.32% 0.1338 0.0099)
OKLCHoklch(37.32% 0.134 4.2)
XYZxyz(8.2670, 4.5012, 4.1741)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751238 #12754F
analogous
#75126A #751238 #751E12
triadic
#751238 #387512 #123875
tetradic
#751238 #6A7512 #12754F #1E1275
square
#751238 #6A7512 #12754F #1E1275
split-complementary
#751238 #12751E #126A75
monochromatic
#1B040D #400A1F #751238 #AA1A51 #DD246B

Accessibility & contrast

On white

11.05
#751238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#751238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751238
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751238#FFFFFF#000000##FFFFFF
##7512381.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3039
Deuteranopia (green-blind)
#464336
Tritanopia (blue-blind)
#800023
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #751238;
/* rgb */ color: rgb(117, 18, 56);
/* oklch */ color: oklch(37.3% 0.134 4.2);
Tailwind
colors: {
  custom: {
    50: '#a25c6e',
    500: '#751238',
    950: '#000000',
  },
}
SCSS
$custom: #751238;
$custom-light: #a25c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#751238",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 336.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.13416,
    "h": 4.2
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#751238
secondary
#37AC7F
accent
#F0A938
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #751238

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

Preview Lab → · Contrast checker → · Palette generator →

#751238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva