#AF265F#AF265F

#AF265F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.177 H 1.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF265F
RGBrgb(175, 38, 95)
HSLhsl(335, 64%, 42%)
HSVhsv(335, 78%, 69%)
CMYKcmyk(0%, 78.3%, 45.7%, 31.4%)
CIE-LABlab(40.13, 57.62, 1.06)
CIE-LCHlch(40.13, 57.63, 1.05°)
OKLaboklab(50.71% 0.1769 0.0034)
OKLCHoklch(50.71% 0.177 1.1)
XYZxyz(20.4395, 11.3292, 11.9347)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF265F #26AF76
analogous
#AF26A4 #AF265F #AF3126
triadic
#AF265F #5FAF26 #265FAF
tetradic
#AF265F #A4AF26 #26AF76 #3126AF
square
#AF265F #A4AF26 #26AF76 #3126AF
split-complementary
#AF265F #26AF31 #26A4AF
monochromatic
#4A1028 #7D1B44 #AF265F #D53D7C #E0709E

Accessibility & contrast

On white

6.43
#AF265F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF265F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF265F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF265F#FFFFFF#000000##FFFFFF
##AF265F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#BE043F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af265f;
/* rgb */ color: rgb(175, 38, 95);
/* oklch */ color: oklch(50.7% 0.177 1.1);
Tailwind
colors: {
  custom: {
    50: '#cc6e8c',
    500: '#af265f',
    950: '#000000',
  },
}
SCSS
$custom: #af265f;
$custom-light: #cc6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af265f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 335.036,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.17696,
    "h": 1.1
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#AF265F
secondary
#6AC7A0
accent
#E7A240
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF265F

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

Preview Lab → · Contrast checker → · Palette generator →

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