#6F1238#6F1238

#6F1238 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.2% C 0.129 H 2.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#6F1238
RGBrgb(111, 18, 56)
HSLhsl(335, 72%, 25%)
HSVhsv(335, 84%, 44%)
CMYKcmyk(0%, 83.8%, 49.5%, 56.5%)
CIE-LABlab(24.00, 41.94, 1.72)
CIE-LCHlch(24.00, 41.97, 2.35°)
OKLaboklab(36.16% 0.1287 0.0049)
OKLCHoklch(36.16% 0.129 2.2)
XYZxyz(7.4863, 4.0987, 4.1375)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1238 #126F49
analogous
#6F1266 #6F1238 #6F1B12
triadic
#6F1238 #386F12 #12386F
tetradic
#6F1238 #666F12 #126F49 #1B126F
square
#6F1238 #666F12 #126F49 #1B126F
split-complementary
#6F1238 #126F1B #12666F
monochromatic
#1A040D #3A091D #6F1238 #A41B53 #D8236D

Accessibility & contrast

On white

11.54
#6F1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#6F1238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1238
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1238#FFFFFF#000000##FFFFFF
##6F12381.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E39
Deuteranopia (green-blind)
#423F36
Tritanopia (blue-blind)
#790023
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6f1238;
/* rgb */ color: rgb(111, 18, 56);
/* oklch */ color: oklch(36.2% 0.129 2.2);
Tailwind
colors: {
  custom: {
    50: '#9d5b6e',
    500: '#6f1238',
    950: '#000000',
  },
}
SCSS
$custom: #6f1238;
$custom-light: #9d5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1238",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 335.484,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.12882,
    "h": 2.2
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#6F1238
secondary
#37A679
accent
#EFA539
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#0F0407
muted
#7F797A

Preview Lab

Preview with #6F1238

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

Preview Lab → · Contrast checker → · Palette generator →

#6F1238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva